Saturday, March 24, 2012

Load single plugin with App::build()

Hi,

Is it possible to load a single plugin from outside the cake root?

If I do:

App::build(array(
    'Plugin' => array('/full/path/to/plugin_dir/')
));

..I can load a whole directory of plugins but what if I only want to use one of them? Is this possible? (I get errors when using a path to the specific plugin directory).

(P.s. This is cake version 2.1)


Tom

--
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


Real Estate