From 10b37a4d83a616de26eb0f8f4facba2c7370eb3c Mon Sep 17 00:00:00 2001 From: Andreas Hackl Date: Fri, 7 Apr 2023 00:15:05 +0900 Subject: [PATCH] don't append ?hupl and ?sharex in the hupl and sharex configs herp derp --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 23e08e5..ee1c8a2 100755 --- a/index.php +++ b/index.php @@ -248,7 +248,7 @@ function send_text_file(string $filename, string $content) : void function send_sharex_config() : void { $name = $_SERVER['SERVER_NAME']; - $site_url = CONFIG::SITE_URL(); + $site_url = str_replace("?sharex", "", CONFIG::SITE_URL()); send_text_file($name.'.sxcu', <<