From 34e45090ad41730db8a9e9fff57c7884e65ea944 Mon Sep 17 00:00:00 2001 From: Muhammad Herdy Iskandar <66510723+dyzulk@users.noreply.github.com> Date: Thu, 4 Jan 2024 10:41:57 +0700 Subject: [PATCH] Update core.php --- core.php | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/core.php b/core.php index 8b4628a..dee4f06 100644 --- a/core.php +++ b/core.php @@ -34,16 +34,7 @@ function showContent() { } function base_url($url = null) { - if ($_SERVER['HTTP_HOST'] == 'localhost:8080') { - $base_url = "http://localhost:8080/"; - } elseif ($_SERVER['HTTP_HOST'] == 'derli.do:8080') { - $base_url = "http://derli.do:8080/"; - } elseif ($_SERVER['HTTP_HOST'] == 'dev.dyzulk.com') { - $base_url = "https://dev.dyzulk.com/"; - } else { - $base_url = "http://localhost/"; - } - // return $base_url . $url; + $base_url = "http://localhost/raisenapp/"; if( $url != null ) { return $base_url . $url; } else {