workaround
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
http_response_code(1337);
|
||||||
register_shutdown_function(function() {
|
register_shutdown_function(function() {
|
||||||
$error = error_get_last();
|
$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) {
|
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'])){
|
if(!isset($_POST['testaction'])){
|
||||||
include_once("./view/content_pagetemplate.php");
|
include_once("./view/content_pagetemplate.php");
|
||||||
}
|
}
|
||||||
|
http_response_code(200);
|
||||||
?>
|
?>
|
||||||
Reference in New Issue
Block a user