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