是否可以使用 App::build() 从 cake root 外部加载单个插件?
如果我做:
App::build(array(
'Plugin' => array('/full/path/to/plugin_dir/')
));
..我可以加载整个目录的插件,但如果我只想使用其中一个呢?这可能吗?(使用特定插件目录的路径时出现错误)。
(ps这是蛋糕2.1版)
是否可以使用 App::build() 从 cake root 外部加载单个插件?
如果我做:
App::build(array(
'Plugin' => array('/full/path/to/plugin_dir/')
));
..我可以加载整个目录的插件,但如果我只想使用其中一个呢?这可能吗?(使用特定插件目录的路径时出现错误)。
(ps这是蛋糕2.1版)