From e0d9a20f4ce82996b44ee21598331ed2c1f5d590 Mon Sep 17 00:00:00 2001 From: Shish Date: Wed, 7 Feb 2024 23:01:45 +0000 Subject: [PATCH] cleanup --- core/polyfills.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/core/polyfills.php b/core/polyfills.php index 02735446..08e7a01c 100644 --- a/core/polyfills.php +++ b/core/polyfills.php @@ -312,14 +312,6 @@ function get_base_href(): string elseif(isset($_SERVER['SCRIPT_FILENAME']) && isset($_SERVER['DOCUMENT_ROOT'])) { $self = substr($_SERVER['SCRIPT_FILENAME'], strlen(rtrim($_SERVER['DOCUMENT_ROOT'], "/"))); } - /* - die(var_export([ - $_SERVER['PHP_SELF'], - $_SERVER['SCRIPT_FILENAME'], - $_SERVER['DOCUMENT_ROOT'], - $self - ], true)); - */ $dir = dirname($self); $dir = str_replace("\\", "/", $dir); $dir = rtrim($dir, "/");