开发者

How define a unique "plugins" path to all apps in 1.3?

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_COR开发者_StackOverflowE_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.


Probably you need this.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜