From 896fa7c96856142f844d958b049d5432f511641c Mon Sep 17 00:00:00 2001 From: Minteck Date: Wed, 4 Aug 2021 16:56:12 +0200 Subject: v2.0 --- _site/includes/dom/header.php | 517 +----------------------------------------- 1 file changed, 9 insertions(+), 508 deletions(-) (limited to '_site/includes/dom/header.php') diff --git a/_site/includes/dom/header.php b/_site/includes/dom/header.php index 978e766..15beaa1 100644 --- a/_site/includes/dom/header.php +++ b/_site/includes/dom/header.php @@ -1,508 +1,9 @@ - - - - Something went wrong on UnchainedTech 🌙 - - - -
-

Something went wrong (like, for real!)

-

An error occured and UnchainedTech cannot load right now. Even us can make mistakes sometimes, and because you are really nice you will report this bug.

-

For you, really tech-savvy people, here is that alien language thing you're probably looking for:

-
-#99{$d["type"]}: ";
-
-$pparts = explode(": ", $d["message"]);
-array_shift($pparts);
-
-$parts = explode(" in ", implode(": ", $pparts));
-echo($parts[0]);
-
-$stp = explode("\nStack trace:", $parts[1]);
-echo("\n    at " . $stp[0]);
-
-$stlines = explode("\n", $stp[1]);
-array_shift($stlines);
-
-foreach ($stlines as $stline) {
-    $stpparts = explode(" ", $stline);
-    array_shift($stpparts);
-    $stline = implode(" ", $stpparts);
-
-    if ($stline !== " thrown" && $stline !== "{main}") {
-        $pp2 = explode("(", $stline);
-        $pp2n = explode(")", $pp2[1]);
-
-        echo("\n    at " . $pp2[0] . ":" . $pp2n[0]);
-    } else if ($stline === "{main}") {
-        echo("\n    at UnchainedTech.\$Core (PHP " . PHP_VERSION . ")");
-    }
-}
-
-echo "
-
-
- - - "; - die(); - } -} - -function customError($errno, $errstr, $errfile = "<unknown file>", $errline = "<unknown line>") { - ob_clean(); - echo " - - - - Something went wrong on UnchainedTech 🌙 - - - -
-

Something went wrong (like, for real!)

-

An error occured and UnchainedTech cannot load right now. Even us can make mistakes sometimes, and because you are really nice you will report this bug.

-

For you, really tech-savvy people, here is that alien language thing you're probably looking for:

-
-#{$errno}: {$errstr}
-    at {$errfile}:{$errline}
-    at UnchainedTech.\$Core (PHP " . PHP_VERSION . ")
-
-
- - - "; - die(); -} -set_error_handler("customError", E_ALL); -register_shutdown_function("customShutdown"); - -?> - - - - - - "> - <?= isset($_TITLE) ? $_TITLE . " on UnchainedTech 🌙" : "UnchainedTech" ?> - - - - - - - - - -
\ No newline at end of file +