Hi everbody, because my application is separated in two parts, the first one (the core) that takes care about persistence and contains the business logic and the other is based on Agavi. The idea behind this is to be able to use the core on its own for a command line application or something like this. In the core part I included a central static config class which I want to fill by using the Agavi config handler feature. I have created a new XSD, the respective XML and also a new config handler which extends the AgaviConfigHandler. I have put all this information in the config_handlers.xml. Furthermore I extended the AgaviController to run the AgaviConfigCache::checkConfig in the initialize method and put the two new classes to the autoload.xml. So far so good...
When I'm running the application the application I get an error that the new config handler could not be found. I do unterstand that the config_handlers.xml has to be loaded first to know how to deal with the other configs but I hope there has to be some way to deal with this issue. Now my question is if I'm on the right way to get it done or if there's a better way to do it. Or maybe I also could say: Where is the error in reasoning? :) I'm looking forward to your responds. Thanks a lot Marcel _________________________________________________________________________ In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und gestalten! Nur 3,99 EUR/Monat! http://www.maildomain.web.de/?mc=021114 _______________________________________________ users mailing list [email protected] http://lists.agavi.org/mailman/listinfo/users
