aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_module.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/functions_module.php')
-rw-r--r--phpBB/includes/functions_module.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_module.php b/phpBB/includes/functions_module.php
index f4ee454033..3f1c6b39e2 100644
--- a/phpBB/includes/functions_module.php
+++ b/phpBB/includes/functions_module.php
@@ -818,11 +818,11 @@ class p_master
{
global $user, $phpEx;
- if (file_exists($user->lang_path . 'mods'))
+ if (file_exists($user->lang_path . $user->lang_name . '/mods'))
{
$add_files = array();
- $dir = @opendir($user->lang_path . 'mods');
+ $dir = @opendir($user->lang_path . $user->lang_name . '/mods');
if ($dir)
{