• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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, 05: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, 04:16 AM)Aisfrond Wrote:
(07-07-2017, 05: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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2017 MyBB Group.