2009年10月26日星期一

Re: [fw-mvc] Seperate Public Directories Using Same Model & Config

Steve Uplift wrote:
>
>
> Thanks for the reply. I probably didn't make myself clear enough in the
> post. I would actually have two seperate webroots, so effectively two
> seperate applications which both need to access the same models.
>
> Thanks
>
> Steve
>

I do this using sub domains, I have admin. which basically loads the
bootstrap configuration but with some additional options set on top of those
loaded by the standard app. So both the root and the sub domain have an
individual index.php (I found this to be the easiest way to allow precise
control). Because the settings are the same and everything points to the
same location below the web root it all works.

-----
Simon

http://www.ajb007.co.uk/
--
View this message in context: http://www.nabble.com/Seperate-Public-Directories-Using-Same-Model---Config-tp26065263p26069933.html
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: