Author: nextgens
Date: 2008-05-14 06:52:43 +0000 (Wed, 14 May 2008)
New Revision: 19921

Modified:
   trunk/website/includes/common.inc.php
Log:
website: doh

Modified: trunk/website/includes/common.inc.php
===================================================================
--- trunk/website/includes/common.inc.php       2008-05-14 06:49:18 UTC (rev 
19920)
+++ trunk/website/includes/common.inc.php       2008-05-14 06:52:43 UTC (rev 
19921)
@@ -5,7 +5,7 @@
         $host = htmlentities($_SERVER['HTTP_HOST']);
         $prefix = "http://".$host;

-        if ($c=preg_match_all ("/\\/index\\.php\\?page=[/]*([^&]+)/is", 
$currentURI, $matches)) {
+        if ($c=preg_match_all ("/\\/index\\.php\\?page=[\\/]*([^&]+)/is", 
$currentURI, $matches)) {
                 $page_name = $matches[1][0].".html";
         } else {          
                 $page_name = "";


Reply via email to