[Easymod-cvs] easymod2/mods/easymod/em_includes em_functions.php,1.11,1.12
Status: Beta
Brought to you by:
wgeric
|
From: Jim W. <ter...@us...> - 2005-06-23 02:48:38
|
Update of /cvsroot/easymod/easymod2/mods/easymod/em_includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2288/mods/easymod/em_includes Modified Files: em_functions.php Log Message: Fixed a few more bugs. Index: em_functions.php =================================================================== RCS file: /cvsroot/easymod/easymod2/mods/easymod/em_includes/em_functions.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** em_functions.php 22 Jun 2005 16:35:15 -0000 1.11 --- em_functions.php 23 Jun 2005 02:48:24 -0000 1.12 *************** *** 564,567 **** --- 564,570 ---- for ( $file_count=0; $file_count<count( $file_list); $file_count++) { + $cur_template = preg_replace('#templates/(.*?)/.*#i','$1',$file_list[$file_count]->path); + $search_fragment = ($cur_template == '') ? $search_array : str_replace('subSilver',$cur_template,$search_fragment); + $found_fragment = false ; // search the find array for our fragment *************** *** 951,955 **** // check for copy command ! if ( copy( 'language/lang_easymod_'.$language.'.' . $phpEx, $phpbb_root_path . 'EM_test.txt')) { // clean up! --- 954,958 ---- // check for copy command ! if ( copy( 'languages/lang_easymod_'.$language.'.' . $phpEx, $phpbb_root_path . 'EM_test.txt')) { // clean up! |