Not having the config file ensures apps work without a config file.
@@ -119,8 +119,12 @@ class Plugin
}
return;
+
if (!Configure::check('pluginPaths')) {
- Configure::load('plugins');
+ try {
+ Configure::load('plugins');
+ } catch (\Exception $e) {
+ }
$config += [
@@ -1,4 +0,0 @@
-<?php
-$config = [
- 'plugins' => []
-];