I am working in a php project using codeigniter. Please advise me what is the global way to set time zone for php and mysql . In which file I can set this. I want to set it without php.ini and .htaccess file.
currently I am using this before every entry -:
date_default_timezone_set("Asia/bhubaneswar");
$time = Date('Y-m-d h:i:s');