Welcome Guest, Not a member yet? Register   Sign In
How to prevent CI from reporting PHP Notice errors
#6

You can set the environment in your .htaccess file that resides with index.php

Add to the top of it:

Code:
    # Multiple Environment config, set this to development, testing or production
    # Set the CodeIgniter Environment.
    SetEnv CI_ENV development
    #SetEnv CI_ENV production
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: How to prevent CI from reporting PHP Notice errors - by InsiteFX - 09-07-2019, 03:52 AM



Theme © iAndrew 2016 - Forum software by © MyBB