Merge pull request #7068 from MrPetovan/task/7047-theme-error-page

Themed error page redux
This commit is contained in:
Philipp 2019-05-02 21:15:29 +02:00 committed by GitHub
commit 2628da422a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
71 changed files with 450 additions and 371 deletions

View file

@ -51,7 +51,7 @@ class Install extends BaseModule
$a = self::getApp();
if (!$a->getMode()->isInstall()) {
Core\System::httpExit(403);
throw new \Friendica\Network\HTTPException\ForbiddenException();
}
// route: install/testrwrite
@ -59,7 +59,7 @@ class Install extends BaseModule
// @TODO: Replace with parameter from router
if ($a->getArgumentValue(1, '') == 'testrewrite') {
// Status Code 204 means that it worked without content
Core\System::httpExit(204);
throw new \Friendica\Network\HTTPException\NoContentException();
}
self::$installer = new Core\Installer();