mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-27 10:14:47 +02:00
[ticket/15253] Update imports
PHPBB3-15253
This commit is contained in:
@@ -13,6 +13,8 @@
|
||||
|
||||
namespace phpbb;
|
||||
|
||||
use phpbb\filesystem\helper as filesystem_helper;
|
||||
|
||||
/**
|
||||
* The finder provides a simple way to locate files in the core and a set of extensions
|
||||
*/
|
||||
@@ -241,7 +243,7 @@ class finder
|
||||
*/
|
||||
protected function sanitise_directory($directory)
|
||||
{
|
||||
$directory = \phpbb\filesystem\helper::clean_path($directory);
|
||||
$directory = filesystem_helper::clean_path($directory);
|
||||
$dir_len = strlen($directory);
|
||||
|
||||
if ($dir_len > 1 && $directory[$dir_len - 1] === '/')
|
||||
|
Reference in New Issue
Block a user