Hi all,

Over the course of the last three days in checking out the new release I've noticed that 0.20 is not correctly detecting my RewriteBase. This worked fine for 0.15. With 0.20, using the Core components requires setting the rewrite base to something like:

$rewrite_base = substr($_SERVER['SCRIPT_NAME'], 0, -9); // remove index.php from string

Then my 0.15 based application trundles along fine with few additional changes. In trying to test the Incubator components I noticed the setRewriteBase() method has vanished. Presumably the new MVC component has moved this elsewhere.

The question is of course, where? How can I change the rewrite base for the new MVC?

Kind regards,
Pádraic
 


Pádraic Brady
http://blog.quantum-star.com
http://www.patternsforphp.com



Check out the New Yahoo! Mail - Fire up a more powerful email and get things done faster.

Reply via email to