Author: nextgens
Date: 2008-05-15 05:06:52 +0000 (Thu, 15 May 2008)
New Revision: 19940

Modified:
   trunk/website/includes/common.inc.php
Log:
website: YetAnotherBugfix to have a better backward-compatibility with old urls

Modified: trunk/website/includes/common.inc.php
===================================================================
--- trunk/website/includes/common.inc.php       2008-05-15 05:06:14 UTC (rev 
19939)
+++ trunk/website/includes/common.inc.php       2008-05-15 05:06:52 UTC (rev 
19940)
@@ -60,6 +60,7 @@
        if (isset($page))
        {
                #echo "common - page exists 
".dirname(__FILE__).'/'.$page.'.inc.php';
+               $page = trim($page, '/');
                $tmpfile = dirname(__FILE__).'/'.$page.'.inc.php';
                if (file_exists($tmpfile)) {
                        #echo "file exists";


Reply via email to