Update of /cvsroot/easymod/easymod2/mods/easymod/includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10578/mods/easymod/includes
Modified Files:
admin_easymod.php.txt
Log Message:
Added some changes by -=ET=-
Fixed a bug or two
Index: admin_easymod.php.txt
===================================================================
RCS file: /cvsroot/easymod/easymod2/mods/easymod/includes/admin_easymod.php.txt,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** admin_easymod.php.txt 12 Jun 2005 08:18:35 -0000 1.15
--- admin_easymod.php.txt 20 Jun 2005 22:15:42 -0000 1.16
***************
*** 26,29 ****
--- 26,37 ----
if (!empty($setmodules))
{
+ if ( !file_exists(@phpbb_realpath($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_easymod.' . $phpEx)) )
+ {
+ include($phpbb_root_path . 'language/lang_english/lang_easymod.' . $phpEx);
+ } else
+ {
+ include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_easymod.' . $phpEx);
+ }
+
$file = basename(__FILE__);
$module['Modifications']['MOD_ainstall'] = "$file?mode=install";
|