* semantic versioning support for plugins

* add support for defining max myaac version in plugin.json file
* you can now require other plugin to be installed before yours
* added German translation
* fixed faq containing html code
This commit is contained in:
slawkens1
2017-12-26 16:47:52 +01:00
parent 60a8317115
commit 62443257fc
18 changed files with 1510 additions and 18 deletions

View File

@@ -73,12 +73,15 @@ else if(isset($_FILES["plugin"]["name"]))
foreach(Plugins::getWarnings() as $warning) {
warning($warning);
}
$info = Plugins::getPluginInfo();
success((isset($info['name']) ? '<strong>' . $info['name'] . '</strong> p' : 'P') . 'lugin has been successfully installed.');
}
else
error(Plugins::getError());
else {
$error = Plugins::getError();
error(!empty($error) ? $error : 'Unexpected error happened while installing plugin. Please try again later.');
}
unlink($targetzip); // delete the Zipped file
}
else