Browse Source

Fix a few mistakes.

Mark Story 11 years ago
parent
commit
a2e413173d
2 changed files with 1 additions and 2 deletions
  1. 1 1
      src/Core/Plugin.php
  2. 0 1
      tests/TestCase/Core/PluginTest.php

+ 1 - 1
src/Core/Plugin.php

@@ -120,7 +120,7 @@ class Plugin
             return;
         }
 
-        if (!Configure::check('pluginPaths')) {
+        if (!Configure::check('plugins')) {
             try {
                 Configure::load('plugins');
             } catch (\Exception $e) {

+ 0 - 1
tests/TestCase/Core/PluginTest.php

@@ -131,7 +131,6 @@ class PluginTest extends TestCase
         $this->assertEquals(APP . 'src' . DS, Plugin::classPath('TestPlugin'));
     }
 
-
     /**
      * Tests loading multiple plugins at once
      *