[Easymod-cvs] easymod2/mods/easymod easymod_install.php,1.21,1.22
Status: Beta
Brought to you by:
wgeric
|
From: Jim W. <ter...@us...> - 2005-06-23 02:48:35
|
Update of /cvsroot/easymod/easymod2/mods/easymod In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2288/mods/easymod Modified Files: easymod_install.php Log Message: Fixed a few more bugs. Index: easymod_install.php =================================================================== RCS file: /cvsroot/easymod/easymod2/mods/easymod/easymod_install.php,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** easymod_install.php 21 Jun 2005 18:11:33 -0000 1.21 --- easymod_install.php 23 Jun 2005 02:48:23 -0000 1.22 *************** *** 103,107 **** { // display error message (obviously we can't use the lang system from this ;-) ! echo "<b>CRITICAL ERROR:</b> the lang_easymod_$language.$phpEx file could not be found in the easymod/language directory. EasyMOD cannot be installed without this file present.\n" ; exit ; } --- 103,107 ---- { // display error message (obviously we can't use the lang system from this ;-) ! echo "<b>CRITICAL ERROR:</b> the lang_easymod_$language.$phpEx file could not be found in the easymod/languages directory. EasyMOD cannot be installed without this file present.\n" ; exit ; } *************** *** 740,747 **** if ( file_exists(@phpbb_realpath($phpbb_root_path . $script_path . 'language/lang_easymod_' . preg_replace("/language\/lang_(.*)\//", "\\1", $lang_files[$i]['path']) . '.' .$phpEx)) ) { ! $command_file->afile[] = "copy language/lang_easymod_" . preg_replace("/language\/lang_(.*)\//", "\\1", $lang_files[$i]['path']) . ".$phpEx ../../../" . $lang_files[$i]['path'] . 'lang_easymod.' . $phpEx ; ! } else { ! $command_file->afile[] = "copy language/lang_easymod_english.$phpEx ../../../" . $lang_files[$i]['path'] . 'lang_easymod.' . $phpEx ; } } --- 740,748 ---- if ( file_exists(@phpbb_realpath($phpbb_root_path . $script_path . 'language/lang_easymod_' . preg_replace("/language\/lang_(.*)\//", "\\1", $lang_files[$i]['path']) . '.' .$phpEx)) ) { ! $command_file->afile[] = "copy languages/lang_easymod_" . preg_replace("/language\/lang_(.*)\//", "\\1", $lang_files[$i]['path']) . ".$phpEx ../../../" . $lang_files[$i]['path'] . 'lang_easymod.' . $phpEx ; ! } ! else { ! $command_file->afile[] = "copy languages/lang_easymod_english.$phpEx ../../../" . $lang_files[$i]['path'] . 'lang_easymod.' . $phpEx ; } } |