This commit is contained in:
Bastian Allgeier
2019-01-14 10:52:45 +01:00
parent 01277f79f2
commit 8070893b64
22 changed files with 482 additions and 351 deletions

View File

@@ -53,6 +53,10 @@ return [
throw new Exception('The server is not setup correctly');
}
if ($system->isInstallable() === false) {
throw new Exception('The panel cannot be installed');
}
if ($system->isInstalled() === true) {
throw new Exception('The panel is already installed');
}