update for warehouse

This commit is contained in:
2024-10-10 08:49:50 +02:00
parent 8a2b8c0b20
commit c57eef6e8d
56 changed files with 2250 additions and 451 deletions

View File

@@ -29,6 +29,9 @@ class mfExceptionhandler {
public function __toString() {
$str="[".$this->Time."] ";
if(is_numeric($this->Code) && $this->Code > 0) {
if($this->Code == 404 || $this->Code == 500) {
http_response_code($this->Code);
}
$str.="(Error code ".$this->Code.") ";
}