mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 00:37:42 +02:00
[ticket/15392] Removed realpath only where needed
PHPBB3-15392
This commit is contained in:
@@ -20,10 +20,10 @@
|
||||
//
|
||||
die("Please read the first lines of this script for instructions on how to enable it");
|
||||
|
||||
$namespace_dir = __DIR__ . '/../phpbb/';
|
||||
$code_dir = __DIR__ . '/../';
|
||||
$test_dir = __DIR__ . '/../../tests/';
|
||||
$config_dir = __DIR__ . '/../config/';
|
||||
$namespace_dir = realpath(__DIR__ . '/../phpbb/');
|
||||
$code_dir = realpath(__DIR__ . '/../');
|
||||
$test_dir = realpath(__DIR__ . '/../../tests/');
|
||||
$config_dir = realpath(__DIR__ . '/../config/');
|
||||
|
||||
function map_class_name($old_class_name, $code_dir)
|
||||
{
|
||||
|
@@ -20,8 +20,8 @@
|
||||
//
|
||||
die("Please read the first lines of this script for instructions on how to enable it");
|
||||
|
||||
$code_dir = __DIR__ . '/../';
|
||||
$test_dir = __DIR__ . '/../../tests/';
|
||||
$code_dir = realpath(__DIR__ . '/../');
|
||||
$test_dir = realpath(__DIR__ . '/../../tests/');
|
||||
$iterator = new \AppendIterator();
|
||||
$iterator->append(new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($code_dir)));
|
||||
$iterator->append(new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($test_dir)));
|
||||
|
Reference in New Issue
Block a user