Re: plugin uses (wrong) app controller

2011-11-24 Thread euromark
unfortunate if you use plugins with similar/same classes ;) but it makes sense. will do! On 24 Nov., 16:24, José Lorenzo wrote: > Sorry, duplicate classnames are not allowed by PHP. Cake is not failing > hard with a fatal error in your case because it caches the classname > location for future u

Re: plugin uses (wrong) app controller

2011-11-24 Thread José Lorenzo
Sorry, duplicate classnames are not allowed by PHP. Cake is not failing hard with a fatal error in your case because it caches the classname location for future uses, so the first one accessed wins. If you had multiple classes with the same name PHP would throw a fatal error if both classes get

plugin uses (wrong) app controller

2011-11-23 Thread euromark
Is this an intentional change in 2.0? That if I call /plugin_name/controller/action/ and if happen to have a controller with the same name in /app/ Controller dir that it uses the local controller in app dir instead of plugin dir? I have a "ConversationsController" in the plugin "Messaging" I also