mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 21:38:54 +00:00
[ticket/12963] Always use core_path and core_directory()
PHPBB3-12963
This commit is contained in:
parent
5ce61e8c3a
commit
1da5c41ab3
1 changed files with 1 additions and 2 deletions
|
@ -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();
|
||||||
|
|
Loading…
Add table
Reference in a new issue