2009年1月6日星期二

[fw-mvc] Request Url

Hi Everyone,
Just a quick one. My application sits at:
http://locahost/projects/newapp/

Therefore my base URI (from Zend_Controller_Request_Http) is:
/projects/newapp/

And when I request:
http://locahost/projects/newapp/controller/action?test=123

My request URI (from Zend_Controller_Request_Http) is:
/projects/newapp/controller/action?test=123

Question is, is there a method (of Zend_Controller_Request_Http) that'll
return the request URI *without* the base URI? Like this:
controller/action?test=123

If not (which I don't *think* there is), has anyone written one?

Cheers,
--
Jack

没有评论: