|
|
@@ -185,9 +185,9 @@ class Plugin
|
|
|
if (Configure::check('plugins')) {
|
|
|
return;
|
|
|
}
|
|
|
- $vendorFile = dirname(dirname(dirname(dirname(__DIR__)))) . DS . 'cakephp-plugins.php';
|
|
|
+ $vendorFile = dirname(dirname(__DIR__)) . DS . 'cakephp-plugins.php';
|
|
|
if (!file_exists($vendorFile)) {
|
|
|
- $vendorFile = dirname(dirname(__DIR__)) . DS . 'cakephp-plugins.php';
|
|
|
+ $vendorFile = dirname(dirname(dirname(dirname(__DIR__)))) . DS . 'cakephp-plugins.php';
|
|
|
if (!file_exists($vendorFile)) {
|
|
|
Configure::write(['plugins' => []]);
|
|
|
return;
|