Welcome Guest, Not a member yet? Register   Sign In
Remove the need for entering the base url on config.php, have no base url
#4

(07-08-2017, 03:16 AM)Aisfrond Wrote:
(07-07-2017, 04:03 PM)desbest Wrote: Hello I have a feature request.
Remove the need for entering the base url on config.php, have no base url
Why should I have to change a variable each time I upload my codeigniter app/script to a new location? It's annoying.

PHP Code:
$config['base_url'] = ( isset($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] == "on" "https://" "http://" ) .$_SERVER['SERVER_NAME'].'/'

possible security hole Angel
Reply


Messages In This Thread
RE: Remove the need for entering the base url on config.php, have no base url - by Paradinight - 07-08-2017, 05:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB