Re: plugin uses (wrong) app controller
unfortunate if you use plugins with similar/same classes ;)
but it makes sense. will do!
On 24 Nov., 16:24, José Lorenzo <jose....@gmail.com> 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 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 opened.
>
> My suggestion is to rename the class in the plugin to make it unique,
> prepending a small word to the name should do it.
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home