Update of /cvsroot/easymod/easymod2/mods/easymod/em_includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11837/mods/easymod/em_includes
Modified Files:
em_functions.php
Log Message:
bug fixes
Index: em_functions.php
===================================================================
RCS file: /cvsroot/easymod/easymod2/mods/easymod/em_includes/em_functions.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** em_functions.php 21 Jun 2005 18:11:33 -0000 1.10
--- em_functions.php 22 Jun 2005 16:35:15 -0000 1.11
***************
*** 326,330 ****
{
// 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);
--- 326,330 ----
{
// 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);
|