mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +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;
|
||||
|
||||
$finder = new \phpbb\finder(new \phpbb\filesystem(), $phpbb_root_path, null, $phpEx);
|
||||
$classes = $finder->core_path('phpbb/')
|
||||
->core_directory('db/migration/data/')
|
||||
$classes = $finder->core_path('phpbb/db/migration/data/')
|
||||
->set_extensions($setup_extensions)
|
||||
->extension_directory('/migrations')
|
||||
->get_classes();
|
||||
|
|
Loading…
Add table
Reference in a new issue