Mauro, Instead of ".;C:\Programmi\php\ext;C:\Programmi\php\ext\core;C:\Programmi\php\ext\incubator"
Use ".;C:\Programmi\php\ext;C:\Programmi\php\ext\incubator;C:\Programmi\php\ext\core" In other words, swap the position of incubator and core files so that PHP looks in the incubator before it looks in core. However, I would recommend setting this dynamically at the top of your bootstrap file instead, and keeping the directory structure of the framework so you can easily update it. You may also want multiple copies of the framework so you can update one application at a time instead of all at once. Hope that helps, -Matt > Hi, > thank you for your help.. > > I have in C:\Programmi\php\ext\incubator > Zend.php of incubator and all the library of incubator and in > C:\Programmi\php\ext\core > Zend.php of core and all the library of core. > > The application run without problems if i put: > > ".;C:\Programmi\php\ext;C:\Programmi\php\ext\core;C:\Programmi\php\ext\incubator" > > But I need to use the new classes of incubator... I dont know how to use > this new classes... > > I hope that i have explained better my problem... > > > Thank you all for your help. > Mauro Casula. > > > Abu Hurayrah-2 wrote: >> >> Mauro, >> >> I think you need to be including the /library/ directory of both the >> incubator and the core, not just the entire Zend directory or Zend.php. >> >> So, for example, if you have the zend framework release in the directory >> C:\Programmi\zf-release-0.2.0, then you want to include in PHP >> C:\Programmi\zf-release-0.2.0\library. Always include the /library/ >> directory. >> >> I hope this helps! >> >> Mauro Casula wrote: >>> I have put in my php.ini: >>> >>> include_path = >>> ".;C:\Programmi\php\ext;C:\Programmi\php\ext\incubator;C:\Programmi\php\ext\core" >>> >>> inside incubator there in Zend.php of the incubator >>> inside core Zend.php of core. >>> >>> I think there is something that i dont know because when i restart >>> Apache >>> and start the application >>> i get the error that its impossible to found Zend_registry... >>> >>> ... what i have to do? >>> >>> Regards. >>> >>> Mauro Casula. >>> >>> >>> Matthew Weier O wrote: >>> >>>> -- Mauro Casula <[EMAIL PROTECTED]> wrote >>>> (on Monday, 13 November 2006, 08:06 AM -0800): >>>> >>>>> I have undestand the mechanism you suggest and i'm trying to >>>>> implement >>>>> that.. >>>>> >>>>> But I have a question. >>>>> I have to write myself this method you have suggest ? >>>>> >>>>> >>>>>> $this->getRequest(); >>>>>> >>>>> Extending the abstract class of Plugin i dont have this method.. >>>>> >>>> Again, you need to use the MVC components in the incubator; make sure >>>> that the incubator/library/ path is before the library/ path when you >>>> set the include_path. Zend_Controller_Plugin_Abstract::getRequest() >>>> exists in the incubator version. >>>> >>>> -- >>>> Matthew Weier O'Phinney >>>> PHP Developer | [EMAIL PROTECTED] >>>> Zend - The PHP Company | http://www.zend.com/ >>>> >>>> >>>> >>> >>> >> >> > > -- > View this message in context: > http://www.nabble.com/How-get-Zend_Controller_Dispatcher_Token-from-index.php-tf2621448s16154.html#a7323003 > Sent from the Zend Framework mailing list archive at Nabble.com. > >
