@@ 281-288 (lines=8) @@ | ||
278 | } |
|
279 | ||
280 | ||
281 | function getFilename($txt) { |
|
282 | $res = $txt; |
|
283 | preg_match("|.*/([^/]+)|", $txt, $urlList); |
|
284 | if (count($urlList) > 0) { |
|
285 | $res = $urlList[1]; |
|
286 | } |
|
287 | return $res; |
|
288 | } |
|
289 | ||
290 | function getWorkFolder($txt) { |
|
291 | $res = ""; |
|
@@ 290-297 (lines=8) @@ | ||
287 | return $res; |
|
288 | } |
|
289 | ||
290 | function getWorkFolder($txt) { |
|
291 | $res = ""; |
|
292 | preg_match("|(.*/)[^/]+|", $txt, $urlList); |
|
293 | if (count($urlList) > 0) { |
|
294 | $res = $urlList[1]; |
|
295 | } |
|
296 | return $res; |
|
297 | } |
|
298 | ||
299 | function getShortFilename($txt) { |
|
300 | $res = $txt; |