views:

14

answers:

1

In 1.2 i used:

$pluginPaths = array(CAKE_CORE_INCLUDE_PATH . DS. 'vendors' . DS.

'plugins' . DS);

But.. in 1.3 we have the new plugins path, and i believe thats not necessary the $pluginsPaths manual declaration if i have:

    if (!defined('CAKE_CORE_INCLUDE_PATH')) {
                    //define('CAKE_CORE_INCLUDE_PATH', ROOT);
                    define('CAKE_CORE_INCLUDE_PATH', $_SERVER['DOCUMENT_ROOT'] . DS .
    "libs2");

}

I saved my plugin inside the "plugins path"... But i have not sucess in:

var $components = 'Plugin.Component';

Anyone can help me?

Thanks, Celso.

+1  A: 

Probably you need this.

bancer