|
@@ -250,7 +250,7 @@ |
|
|
block discarded – undo |
|
250
|
250
|
$path = rtrim($path, $separators); |
|
251
|
251
|
// Returns the trailing part of the $uri starting after one of the directory |
|
252
|
252
|
// separators. |
|
253
|
|
- $filename = preg_match('@[^' . preg_quote($separators, '@') . ']+$@', $path, $matches) ? $matches[0] : ''; |
|
|
253
|
+ $filename = preg_match('@[^'.preg_quote($separators, '@').']+$@', $path, $matches) ? $matches[0] : ''; |
|
254
|
254
|
|
|
255
|
255
|
return $filename; |
|
256
|
256
|
} |
Please login to merge, or discard this patch.