diff options
author | Nils Adermann <naderman@naderman.de> | 2011-11-18 16:42:53 +0100 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2011-11-18 16:44:42 +0100 |
commit | 0d296785b2364f894f34171d054341cc4979223f (patch) | |
tree | b5ae025f4d24c61a34602f7bf9facffca952bfe9 /phpBB/includes/functions_module.php | |
parent | d8e5783e8c341e38a0b8d572c8482b264cacb9c0 (diff) | |
download | forums-0d296785b2364f894f34171d054341cc4979223f.tar forums-0d296785b2364f894f34171d054341cc4979223f.tar.gz forums-0d296785b2364f894f34171d054341cc4979223f.tar.bz2 forums-0d296785b2364f894f34171d054341cc4979223f.tar.xz forums-0d296785b2364f894f34171d054341cc4979223f.zip |
[feature/extension-manager] Rename default methods to core methods on finder.
There are now extension_ and core_ methods for all finder settings as well as
a generic method which overwrites both.
PHPBB3-10323
Diffstat (limited to 'phpBB/includes/functions_module.php')
-rw-r--r-- | phpBB/includes/functions_module.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/phpBB/includes/functions_module.php b/phpBB/includes/functions_module.php index ce49c3a798..1f451d392d 100644 --- a/phpBB/includes/functions_module.php +++ b/phpBB/includes/functions_module.php @@ -873,9 +873,8 @@ class p_master $lang_files = $finder ->prefix('info_' . strtolower($module_class) . '_') ->suffix(".$phpEx") - ->directory('/language/' . $user->lang_name) - ->default_path('language/' . $user->lang_name . '/mods/') - ->default_directory('') + ->extension_directory('/language/' . $user->lang_name) + ->core_path('language/' . $user->lang_name . '/mods/') ->find(); foreach ($lang_files as $lang_file => $ext_name) |