Oh… why didn’t
I think of that J …
Great help… thanks!
Fra: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sendt: 8. november 2006 11:13
Til: Zend Framework MVC
Emne: Re: SV: [fw-mvc] token in
the new MVC
Hi Asger,
The library and incubator are not mutually exclusive. The way I'm using it is
to have both the incubator and library directories added to my include_path
(specifically to put the incubator first, and the library second). The net
effect is that incubator classes are included in preference to library
versions.
There's no need (as far as I know) to delete the library Controller directory
and replace it with the library version. My directory structure:
/
/library
/Zend
/incubator/Zend
I then set include path using:
set_include_path(
get_include_path() . PATH_SEPARATOR
'./library/incubator' . PATH_SEPARATOR
'./library'
);
Hope this helps!
Regards,
Pádraic
Pádraic Brady
http://blog.quantum-star.com
http://www.patternsforphp.com
----- Original Message
----
From: Asger Hallas - butterflies
<[EMAIL PROTECTED]>
To: Matthew Weier O'Phinney <[EMAIL PROTECTED]>; [EMAIL PROTECTED]
Sent: Wednesday, November 8, 2006 9:52:44 AM
Subject: SV: [fw-mvc] token in the new MVC
Thanks a lot :)
Just a little question, is there a reason why all some of the exception
classes is not in the incubators controller dir? Action/Exception and
Dispatcher/Exception is missing - of course that's not a real problem, I
just pick them from the library, but when downloading from SVN
regularly, I use to delete the controller-dir from the library and then
just copy over the needed directories from the incubator...
What I'm trying to say, is that the controller in the incubator doesn't
work a one single package, but has to be "merged" with files from the
library... and is there a reason for that?
Maybe I'm just too lazy :)
/Asger
> -----Oprindelig meddelelse-----
> Fra: Matthew Weier O'Phinney [mailto:[EMAIL PROTECTED]
> Sendt: 6. november 2006 16:12
> Til: [EMAIL PROTECTED]
> Emne: Re: [fw-mvc] token in the new MVC
>
> -- Asger Hallas - butterflies
<[EMAIL PROTECTED]> wrote
> (on Monday, 06 November 2006, 02:33 PM +0100):
> > From what I could read in the proposal the Dispatcher_Token is no
> > longer used, can anybody tell why this line:
> >
> > require_once 'Zend/Controller/Dispatcher/Token.php';
> >
> > is used in Broker.php in the incubator?
>
> Oversight. :-)
>
> Corrected in svn, revision 1476.
>
> --
> Matthew Weier O'Phinney
> PHP
Developer |
[EMAIL PROTECTED]
> Zend - The PHP Company | http://www.zend.com/
###########################################
This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.f-secure.com/
Sponsored Link
Mortgage rates near historic lows: $150,000 loan as low as $579/mo.
Intro-*Terms
###########################################
This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/
|