开发者

Cakephp Media Plugin Problem

I am trying to use the M开发者_开发问答edia Plugin (http://www.ohloh.net/p/cakephp-media)

I placed the media folder contents in app/plugins/media

then in bootstrap.php in the app/config/ folder added the following code.

Configure::load('media.core');

Now when i run any controller and any action am getting the following error.

Configure::load() - no variable $config found in core.php [CORE\cake\libs\configure.php, line 266]

I am using Cakephp 1.3.7


loading config files with cakes Configure::load() has a requirement that the configs be in a variable called $config

eg

<?php 
$config['Meh'] = array('foo' => 'bar');
?>
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜