Просмотр исходного кода

Merge pull request #293 from own3mall/master

:(
OwN-3m-All 8 лет назад
Родитель
Сommit
ccf7444408
1 измененных файлов с 8 добавлено и 0 удалено
  1. 8 0
      includes/lang.php

+ 8 - 0
includes/lang.php

@@ -24,6 +24,14 @@
 
 
 $lang_modules = array();
 $lang_modules = array();
 
 
+// Some modules do not follow the established pattern and therefore don't have the functions loaded :(
+if(file_exists('includes/functions.php'))
+	require_once('includes/functions.php');
+
+if(file_exists('functions.php'))
+	require_once('functions.php');
+
+
 function add_lang_module($lang_module)
 function add_lang_module($lang_module)
 {
 {
     global $lang_modules;
     global $lang_modules;