[Solar-svn] Revision 3270

pmjones at solarphp.com pmjones at solarphp.com
Mon Jul 28 08:53:44 CDT 2008


system: [FIX] In the "insecure" bootstrap, right-trim '/' off the path before adding index.php; there were 2 slashes there, which confuses the controllers.


Modified: system/index.php
===================================================================
--- system/index.php	2008-07-28 13:42:30 UTC (rev 3269)
+++ system/index.php	2008-07-28 13:53:44 UTC (rev 3270)
@@ -30,6 +30,7 @@
     // strip "/index.php" and everything after it
     $path = substr($path, 0, $pos);
 }
+$path = rtrim($path, '/');
 $config['Solar_Uri_Action']['path'] = "$path/index.php";
 $config['Solar_Uri_Public']['path'] = "$path/docroot/public";
 




More information about the Solar-svn mailing list