mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 15:27:42 +02:00
[ticket/12963] Always use core_path and core_directory()
PHPBB3-12963
This commit is contained in:
@@ -69,8 +69,7 @@ abstract class phpbb_database_test_case extends PHPUnit_Extensions_Database_Test
|
|||||||
global $phpbb_root_path, $phpEx, $table_prefix;
|
global $phpbb_root_path, $phpEx, $table_prefix;
|
||||||
|
|
||||||
$finder = new \phpbb\finder(new \phpbb\filesystem(), $phpbb_root_path, null, $phpEx);
|
$finder = new \phpbb\finder(new \phpbb\filesystem(), $phpbb_root_path, null, $phpEx);
|
||||||
$classes = $finder->core_path('phpbb/')
|
$classes = $finder->core_path('phpbb/db/migration/data/')
|
||||||
->core_directory('db/migration/data/')
|
|
||||||
->set_extensions($setup_extensions)
|
->set_extensions($setup_extensions)
|
||||||
->extension_directory('/migrations')
|
->extension_directory('/migrations')
|
||||||
->get_classes();
|
->get_classes();
|
||||||
|
Reference in New Issue
Block a user