Welcome Guest, Not a member yet? Register   Sign In
How do I enable CI error log
#6

[eluser]WanWizard[/eluser]
In the category "stupid questions":

Why make it to difficult? Why not store this file in the helpers directory (where it should be), and simply use $this->load->helper()?

If you work cross-platform you have to be extremely careful with path manipulations like this. Paths on Windows use a backslash, not a forward slash. Sometimes, PHP converts them on the fly, sometimes not. And hardcoding a '/' is hardly ever a good idea.
If you insist, use the constant DIRECTORY_SEPARATOR instead of hardcoding the slash.


Messages In This Thread
How do I enable CI error log - by El Forum - 07-13-2010, 06:19 AM
How do I enable CI error log - by El Forum - 07-13-2010, 07:01 AM
How do I enable CI error log - by El Forum - 07-13-2010, 06:46 PM
How do I enable CI error log - by El Forum - 07-13-2010, 08:20 PM
How do I enable CI error log - by El Forum - 07-14-2010, 07:07 AM
How do I enable CI error log - by El Forum - 07-14-2010, 07:33 AM
How do I enable CI error log - by El Forum - 07-16-2010, 12:00 AM
How do I enable CI error log - by El Forum - 07-16-2010, 12:12 PM



Theme © iAndrew 2016 - Forum software by © MyBB