workaround
This commit is contained in:
parent
99c328b7b5
commit
fe3572a7a9
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
http_response_code(1337);
|
||||
register_shutdown_function(function() {
|
||||
$error = error_get_last();
|
||||
if ($error['type'] == E_ERROR || $error['type'] == E_PARSE || $error['type'] == E_CORE_ERROR || $error['type'] == E_COMPILE_ERROR || $error['type'] == E_RECOVERABLE_ERROR) {
|
||||
@ -18,5 +19,5 @@ $mvcController->executeModel();
|
||||
if(!isset($_POST['testaction'])){
|
||||
include_once("./view/content_pagetemplate.php");
|
||||
}
|
||||
|
||||
http_response_code(200);
|
||||
?>
|
||||
Loading…
x
Reference in New Issue
Block a user