Welcome Guest, Not a member yet? Register   Sign In
base_url config from 2.x breaking change than 2.1.x
#1

I'm using old 2.1.x version, config file set as below
PHP Code:
$config['base_url']    = ''
 In lastest 2.x version, when i set it is empty, it only use ip address in my url instead of domain name with older version
Along time i dont work with PHP and how we need set this config value instead of default
king
Reply
#2

To avoid Host header injections.
See http://www.codeigniter.com/userguide2/in...e_226.html
Reply




Theme © iAndrew 2016 - Forum software by © MyBB