phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: sitemgr/sitemgr-site/inc class.Template3.inc.ph


From: Michael Totschnig <address@hidden>
Subject: [Phpgroupware-cvs] CVS: sitemgr/sitemgr-site/inc class.Template3.inc.php,1.4,1.5
Date: Tue, 04 Mar 2003 13:59:16 -0500

Update of /cvsroot/phpgroupware/sitemgr/sitemgr-site/inc
In directory subversions:/tmp/cvs-serv8069

Modified Files:
        class.Template3.inc.php 
Log Message:
prevent regexp that matches hardcoded modules from matching the URL variables


Index: class.Template3.inc.php
===================================================================
RCS file: 
/cvsroot/phpgroupware/sitemgr/sitemgr-site/inc/class.Template3.inc.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** class.Template3.inc.php     4 Mar 2003 17:26:43 -0000       1.4
--- class.Template3.inc.php     4 Mar 2003 18:59:14 -0000       1.5
***************
*** 92,96 ****
                        //process module calls hardcoded into template of form 
{modulename?arguments}
                        $str = preg_replace_callback(
!                               "/\{([[:alnum:]_-]*)\?([^{ ]+)?\}/",
                                array($this,'exec_module'),
                                $str);
--- 92,96 ----
                        //process module calls hardcoded into template of form 
{modulename?arguments}
                        $str = preg_replace_callback(
!                               "/\{([[:alnum:]_-]+)\?([^{ ]+)?\}/",
                                array($this,'exec_module'),
                                $str);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]