<?php
set_exception_handler( function (Exception $exception) {
date("H:i:s F j, Y", $_SERVER['REQUEST_TIME']) . "\n{$exception->getMessage()}\n" .
"{$exception->getFile()} \t Line: {$exception->getLine()}\n\n",
FILE_APPEND);
$timeout = 600;
//Sending 503 header and loading error page template
header("HTTP/1.1 503 Service Unavailable", true, $timeout); header("Retry-After: $timeout"); require_once "../src/View/503.html";
});
PD9waHAKCnNldF9leGNlcHRpb25faGFuZGxlciggZnVuY3Rpb24gKEV4Y2VwdGlvbiAkZXhjZXB0aW9uKSB7CiAgICBmaWxlX3B1dF9jb250ZW50cyhfX0RJUl9fIC4gIi8uLi9sb2dzL2Vycm9yLmxvZyIsCiAgICAgICAgZGF0ZSgiSDppOnMgRiBqLCBZIiwgJF9TRVJWRVJbJ1JFUVVFU1RfVElNRSddKSAuCiAgICAgICAgIlxueyRleGNlcHRpb24tPmdldE1lc3NhZ2UoKX1cbiIgLgogICAgICAgICJ7JGV4Y2VwdGlvbi0+Z2V0RmlsZSgpfSBcdCBMaW5lOiB7JGV4Y2VwdGlvbi0+Z2V0TGluZSgpfVxuXG4iLAogICAgICAgIEZJTEVfQVBQRU5EKTsKICAgICR0aW1lb3V0ID0gNjAwOwogICAgLy9TZW5kaW5nIDUwMyBoZWFkZXIgYW5kIGxvYWRpbmcgZXJyb3IgcGFnZSB0ZW1wbGF0ZQogICAgaGVhZGVyKCJIVFRQLzEuMSA1MDMgU2VydmljZSBVbmF2YWlsYWJsZSIsIHRydWUsICR0aW1lb3V0KTsKICAgIGhlYWRlcigiUmV0cnktQWZ0ZXI6ICR0aW1lb3V0Iik7CiAgICByZXF1aXJlX29uY2UgIi4uL3NyYy9WaWV3LzUwMy5odG1sIjsKfSk7Cg==