Hi,
You can append another path for plugins, something like this:
app/Config/bootstrap.php:
CakePlugin::load(array('Logger' => array('bootstrap' => true)));
app/Plugin/Logger/bootstrap.php:
App::build('Plugin' => array(CakePlugin::path('Logger') . 'Plugin'));
After that you can load Recaptcha plugin in Logger bootstrap or app
bootstrap.
On Friday, September 7, 2012 10:14:43 PM UTC+2, andrewperk wrote:
>
> For instance I have a plugin called Logger. And inside of my Logger
> plugin, I want to use the Recaptcha plugin but I want it contained inside
> of the Logger plugin.
>
> When I try to load the plugin from within my Loggers bootstrap though it's
> not looking inside my /app/Plugin/Logger/Plugin directory, its still
> looking inside the /app/Plugin directory. How can I accomplish this?
>
> So I need to load the Recaptcha plugin from with in my Logger plugins
> bootstrap.
>
> /app
> /Plugin
> /Logger
> /Plugin
> /Recaptcha
>
>
>
> Thanks,
>
> Andrew
>
--
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.