mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixing plugin option + locations subcommand.
This commit is contained in:
parent
a268eea24f
commit
95f3eb48f9
1 changed files with 4 additions and 0 deletions
|
@ -71,6 +71,10 @@ class UpgradeShell extends Shell {
|
|||
public function locations() {
|
||||
$cwd = getcwd();
|
||||
|
||||
if (!empty($this->params['plugin'])) {
|
||||
chdir(App::pluginPath($this->params['plugin']));
|
||||
}
|
||||
|
||||
if (is_dir('plugins')) {
|
||||
|
||||
$Folder = new Folder('plugins');
|
||||
|
|
Loading…
Reference in a new issue