From 4580a57563490744bbc38ca504955cd8ba44b402 Mon Sep 17 00:00:00 2001 From: VE10-Sanjeev Date: Thu, 4 Apr 2024 18:15:30 +0530 Subject: [PATCH] Bug FIxes 2 url : ps --- application/config/testing/config.php | 2 +- index.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/application/config/testing/config.php b/application/config/testing/config.php index 0fec71e..5fbeb6b 100644 --- a/application/config/testing/config.php +++ b/application/config/testing/config.php @@ -23,7 +23,7 @@ | a PHP script and you can easily do that on your own. | */ -$base = "http://".$_SERVER['HTTP_HOST']; +$base = "https://".$_SERVER['HTTP_HOST']; $base .= str_replace(basename($_SERVER['SCRIPT_NAME']),"",$_SERVER['SCRIPT_NAME']); $config['base_url'] = $base; diff --git a/index.php b/index.php index 781fd2e..83b2380 100644 --- a/index.php +++ b/index.php @@ -64,11 +64,11 @@ case 'venbait.in/org-hub': define('ENVIRONMENT', 'production'); break; - case 'localhost': + case 'venbait.in/bbone': define('ENVIRONMENT', 'testing'); break; default: - define('ENVIRONMENT', 'development'); + define('ENVIRONMENT', 'testing'); break; } }