Bug FIxes 2 url : ps

This commit is contained in:
VE10-Sanjeev 2024-04-04 18:15:30 +05:30
parent 2336f25b8b
commit 4580a57563
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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;
}
}