diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-06-26 12:15:09 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-06-26 16:14:15 +0200 |
commit | b0a296e2e1dd1b173d9cab8c82158ac6bfb86f9e (patch) | |
tree | bfcea01e9ff2d5a3cfc7580a5b1c719d68fcdd6a /lib/base.php | |
parent | 79d9841bce94c0e9abf5e53c845236296a8999de (diff) | |
download | nextcloud-server-b0a296e2e1dd1b173d9cab8c82158ac6bfb86f9e.tar.gz nextcloud-server-b0a296e2e1dd1b173d9cab8c82158ac6bfb86f9e.zip |
Do not use HTTP code OC_Response constants anymore
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php index 598e3ed5757..8ca4a371afb 100644 --- a/lib/base.php +++ b/lib/base.php @@ -432,7 +432,7 @@ class OC { } catch (Exception $e) { \OC::$server->getLogger()->logException($e, ['app' => 'base']); //show the user a detailed error page - OC_Template::printExceptionErrorPage($e, \OC_Response::STATUS_INTERNAL_SERVER_ERROR); + OC_Template::printExceptionErrorPage($e, 500); die(); } |