mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-13 17:24:54 +02:00
* don't install plugin when requirements are not satisfied
This commit is contained in:
@@ -33,7 +33,7 @@ if(Plugins::install($path_to_file)) {
|
||||
echo 'WARNING: ' . $warning;
|
||||
}
|
||||
|
||||
$info = Plugins::getPlugin();
|
||||
$info = Plugins::getPluginJson();
|
||||
echo (isset($info['name']) ? $info['name'] . ' p' : 'P') . 'lugin has been successfully installed.' . PHP_EOL;
|
||||
}
|
||||
else {
|
||||
|
Reference in New Issue
Block a user