Bug FIxes 2 url : ps
This commit is contained in:
parent
2336f25b8b
commit
4580a57563
@ -23,7 +23,7 @@
|
|||||||
| a PHP script and you can easily do that on your own.
|
| 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']);
|
$base .= str_replace(basename($_SERVER['SCRIPT_NAME']),"",$_SERVER['SCRIPT_NAME']);
|
||||||
$config['base_url'] = $base;
|
$config['base_url'] = $base;
|
||||||
|
|
||||||
|
|||||||
@ -64,11 +64,11 @@
|
|||||||
case 'venbait.in/org-hub':
|
case 'venbait.in/org-hub':
|
||||||
define('ENVIRONMENT', 'production');
|
define('ENVIRONMENT', 'production');
|
||||||
break;
|
break;
|
||||||
case 'localhost':
|
case 'venbait.in/bbone':
|
||||||
define('ENVIRONMENT', 'testing');
|
define('ENVIRONMENT', 'testing');
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
define('ENVIRONMENT', 'development');
|
define('ENVIRONMENT', 'testing');
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user