Welcome Guest, Not a member yet? Register   Sign In
updated to current ci but base_url() defect
#6

Never a good idea to mess with code in system. The change was made because using HTTP_HOST can lead to a host header injection attack.

If you absolutely want to do it "your way", the proper approach would be to "extend" the Config class ... https://www.codeigniter.com/user_guide/g...core-class
Reply


Messages In This Thread
RE: updated to current ci but base_url() defect - by ciadmin - 04-14-2017, 09:18 PM



Theme © iAndrew 2016 - Forum software by © MyBB