1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 08:47:45 +02:00

[ticket/15392] Remove not needed realpath()

PHPBB3-15392
This commit is contained in:
DinHere
2017-12-03 21:56:46 +02:00
committed by Marc Alexander
parent 8c9d26db1f
commit 448b6a7d49
3 changed files with 8 additions and 9 deletions

View File

@@ -20,10 +20,10 @@
//
die("Please read the first lines of this script for instructions on how to enable it");
$namespace_dir = realpath(__DIR__ . '/../phpbb/');
$code_dir = realpath(__DIR__ . '/../');
$test_dir = realpath(__DIR__ . '/../../tests/');
$config_dir = realpath(__DIR__ . '/../config/');
$namespace_dir = __DIR__ . '/../phpbb/';
$code_dir = __DIR__ . '/../';
$test_dir = __DIR__ . '/../../tests/';
$config_dir = __DIR__ . '/../config/';
function map_class_name($old_class_name, $code_dir)
{
@@ -191,4 +191,3 @@ foreach ($iterator as $file)
file_put_contents($file->getPathname(), $code);
}
}