Skip to content

Commit

Permalink
Remove sample config file from cakephp tests.
Browse files Browse the repository at this point in the history
Not having the config file ensures apps work without a config file.
  • Loading branch information
markstory committed Jan 13, 2015
1 parent b60cd1f commit bdeafe8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 5 additions & 1 deletion src/Core/Plugin.php
Expand Up @@ -119,8 +119,12 @@ public static function load($plugin, array $config = [])
}
return;
}

if (!Configure::check('pluginPaths')) {
Configure::load('plugins');
try {
Configure::load('plugins');
} catch (\Exception $e) {
}
}

$config += [
Expand Down
4 changes: 0 additions & 4 deletions tests/test_app/config/plugins.php

This file was deleted.

0 comments on commit bdeafe8

Please sign in to comment.