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

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.
Reply
#2

If you're doing a lot of custom installations, you should create and use a shell script. I do this when I set up Community Auth, and I can do a complete install in about 5 seconds.
Reply
#3

(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'].'/'
Reply
#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
#5

the "shell script"  by @skunkbad can be be inbuilt to save the developer the time of entering it himself.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB