"ERROR", "msg" => "Falscher Installationscode!"); } try { $pdo = DbUtils::openDbAndReturnPdoStatic(); self::createSystemTable($pdo); return array("status" => "OK"); } catch (Exception $ex) { return array("status" => "ERROR", "msg" => $ex->getMessage()); } } } if (isset($_POST['code'])) { $code = $_POST['code']; $status = Installer::install($code); if ($status["status"] != "OK") { echo("Ein Fehler ist aufgetreten: " . $status["msg"]); } else { echo("Installation war erfolgreich! Bitte install.php löschen!!! Anschließend kamn die Applikation ohne den Zusatz 'install.php' aufgerufen werden."); } } else { echo ""; echo "Installation Gastsystem"; echo ''; echo ""; echo "
"; echo "Installation OrderSprinter-Gastsystem 1.5.24

"; echo "
"; echo "
"; echo "
"; }