From 4b6204391b9a1f69bcd638c0c6a7ba1ffdc873f3 Mon Sep 17 00:00:00 2001 From: iBNu Maksum Date: Thu, 25 Jul 2024 07:26:05 +0700 Subject: [PATCH] fix installation file step4.php --- install/step4.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/step4.php b/install/step4.php index 751c571d..e9a139a0 100644 --- a/install/step4.php +++ b/install/step4.php @@ -30,7 +30,7 @@ if ($cn == '1') { $protocol = (!empty($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] !== "off" || $_SERVER["SERVER_PORT"] == 443) ? "https://" : "http://"; $host = $_SERVER["HTTP_HOST"]; -$baseDir = rtrim(dirname($_SERVER["SCRIPT_NAME"]), "/\\"); +$baseDir = rtrim(dirname($_SERVER["SCRIPT_NAME"]), "/\\\\"); define("APP_URL", $protocol . $host . $baseDir); // Live, Dev, Demo @@ -61,7 +61,7 @@ if($_app_stage!="Live"){ $input = '