updated to current ci but base_url() defect |
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 |
Messages In This Thread |
updated to current ci but base_url() defect - by cupboy1 - 04-12-2017, 10:49 PM
RE: updated to current ci but base_url() defect - by php_rocs - 04-14-2017, 04:54 AM
RE: updated to current ci but base_url() defect - by cupboy - 04-14-2017, 12:02 PM
RE: updated to current ci but base_url() defect - by ciadmin - 04-14-2017, 12:55 PM
RE: updated to current ci but base_url() defect - by cupboy - 04-14-2017, 08:39 PM
RE: updated to current ci but base_url() defect - by ciadmin - 04-14-2017, 09:18 PM
RE: updated to current ci but base_url() defect - by cupboy - 04-14-2017, 09:34 PM
|