Merge branch 'master' into Development

This commit is contained in:
Ibnu Maksum 2024-07-25 09:12:59 +07:00
commit 2727d53d62
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5

View File

@ -30,7 +30,7 @@ if ($cn == '1') {
$protocol = (!empty($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] !== "off" || $_SERVER["SERVER_PORT"] == 443) ? "https://" : "http://"; $protocol = (!empty($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] !== "off" || $_SERVER["SERVER_PORT"] == 443) ? "https://" : "http://";
$host = $_SERVER["HTTP_HOST"]; $host = $_SERVER["HTTP_HOST"];
$baseDir = rtrim(dirname($_SERVER["SCRIPT_NAME"]), "/\\"); $baseDir = rtrim(dirname($_SERVER["SCRIPT_NAME"]), "/\\\\");
define("APP_URL", $protocol . $host . $baseDir); define("APP_URL", $protocol . $host . $baseDir);
// Live, Dev, Demo // Live, Dev, Demo
@ -61,7 +61,7 @@ if($_app_stage!="Live"){
$input = '<?php $input = '<?php
$protocol = (!empty($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] !== "off" || $_SERVER["SERVER_PORT"] == 443) ? "https://" : "http://"; $protocol = (!empty($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] !== "off" || $_SERVER["SERVER_PORT"] == 443) ? "https://" : "http://";
$host = $_SERVER["HTTP_HOST"]; $host = $_SERVER["HTTP_HOST"];
$baseDir = rtrim(dirname($_SERVER["SCRIPT_NAME"]), "/\\"); $baseDir = rtrim(dirname($_SERVER["SCRIPT_NAME"]), "/\\\\");
define("APP_URL", $protocol . $host . $baseDir); define("APP_URL", $protocol . $host . $baseDir);
// Live, Dev, Demo // Live, Dev, Demo