Update of /cvsroot/openfirst/base/config
In directory sc8-pr-cvs1:/tmp/cvs-serv17786
Modified Files:
first.php
Log Message:
Escape the escape character... this will cause everything to look right in globals.php with an actual \ infront of the variable name (as is required to str_replace it).
Index: first.php
===================================================================
RCS file: /cvsroot/openfirst/base/config/first.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** first.php 27 Jun 2003 23:52:16 -0000 1.10
--- first.php 27 Jun 2003 23:55:29 -0000 1.11
***************
*** 121,126 ****
// Declare important variables so that headers can pick them up and preview them
! \$adminnav = str_replace(\"\$basepath\", \$basepath, \$module->adminnavigation);
! \$subnav = str_replace(\"\$basepath\", \$basepath, \$module->modulenavigation);
}else{
--- 121,126 ----
// Declare important variables so that headers can pick them up and preview them
! \$adminnav = str_replace(\"\\\$basepath\", \$basepath, \$module->adminnavigation);
! \$subnav = str_replace(\"\\\$basepath\", \$basepath, \$module->modulenavigation);
}else{
|