Update of /cvsroot/easymod/easymod2/mods/easymod/em_includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27843/mods/easymod/em_includes
Modified Files:
em_functions.php
Log Message:
Fixed Bug # 1211929
Index: em_functions.php
===================================================================
RCS file: /cvsroot/easymod/easymod2/mods/easymod/em_includes/em_functions.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** em_functions.php 20 Jun 2005 23:17:04 -0000 1.8
--- em_functions.php 21 Jun 2005 01:49:42 -0000 1.9
***************
*** 325,328 ****
--- 325,332 ----
for ( $file_count=0; $file_count<count( $file_list); $file_count++)
{
+ // change subSilver to the current template as appropriate.
+ $cur_template = preg_replace('#templates/(.*?)/#i','$1',$file_list[$file_count]->path);
+ $search_array = ($cur_template == '') ? $search_array : str_replace('subSilver',$cur_template,$search_array);
+
$line_return = '' ;
$potential_find = array() ;
|