Skip to content

Commit

Permalink
Fix a few mistakes.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jan 13, 2015
1 parent 97cecae commit a2e4131
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/Core/Plugin.php
Expand Up @@ -120,7 +120,7 @@ public static function load($plugin, array $config = [])
return;
}

if (!Configure::check('pluginPaths')) {
if (!Configure::check('plugins')) {
try {
Configure::load('plugins');
} catch (\Exception $e) {
Expand Down
1 change: 0 additions & 1 deletion tests/TestCase/Core/PluginTest.php
Expand Up @@ -131,7 +131,6 @@ public function testLoadSingleWithPathConfig()
$this->assertEquals(APP . 'src' . DS, Plugin::classPath('TestPlugin'));
}


/**
* Tests loading multiple plugins at once
*
Expand Down

0 comments on commit a2e4131

Please sign in to comment.