adding SERVER_PORT to base_url setting function |
My English is not good. Sorry about that.
What do you guys think about adding SERVER_PORT to base_url setting function in __construct() of core/Config.php If I don't set a BASE_URL at the configuration, It doesn't works.
hello everyone!
(05-17-2016, 12:13 AM)Sangwon Kim Wrote: My English is not good. Sorry about that. same issue here, I quickly fixed it myself by adding PHP Code: if(isset($_SERVER['SERVER_PORT'])) { for CodeIgniter 3.0.6 in system/core/Config.php:101 (in __construct(), before setting $base_url) maybe it helps, works for me in development on nginx+hhvm/fcgi and lighttpd+php-fcgi BR, chris
I am, yet again, stunned by the efforts people put into not filling a single configuration setting.
|
Welcome Guest, Not a member yet? Register Sign In |