[Solar-svn] Revision 3256
pmjones at solarphp.com
pmjones at solarphp.com
Sat Jul 26 13:09:40 CDT 2008
comment changes
Modified: system/index.php
===================================================================
--- system/index.php 2008-07-26 17:43:05 UTC (rev 3255)
+++ system/index.php 2008-07-26 18:09:40 UTC (rev 3256)
@@ -22,10 +22,12 @@
// get the system config array
$config = require "$system/config/Solar.config.php";
-// fake the Action and Public URI path configs
+// force the Action and Public URI path configs, overwriting anything from
+// the original config
$path = $_SERVER['REQUEST_URI'];
$pos = strpos($path, "/index.php");
if ($pos !== false) {
+ // strip "/index.php" and everything after it
$path = substr($path, 0, $pos);
}
$config['Solar_Uri_Action']['path'] = "$path/index.php";
More information about the Solar-svn
mailing list