Currently I am using:
SetEnv TZ America/Los_Angeles
in htaccess.
Is there a way to define the timezone in the codeignitor config files?
Currently I am using:
SetEnv TZ America/Los_Angeles
in htaccess.
Is there a way to define the timezone in the codeignitor config files?
Write in your index.php
codeignator file:
if (function_exists("date_default_timezone_set"))
date_default_timezone_set("America/Los_Angeles");