In the versions of YII Framework Version 1.
You will set your main.php File.
File Path : application_name/protected/config/main.php
<?php
return array(
// Set Application Name
'name' => "Applicaiton Name",
// Set Default Controller
'defaultController' => 'site/login',
// Set Language
'language' => 'in',
// Set Language for messages and views
'sourceLanguage' => 'en',
// Set Time Zone
'timeZone' => 'Asia/Calcutta',
//Charset to use
'charset'=>'utf-8',
// preloading 'log' component
'preload'=>array('log'),
//application-level parameters that can be accessed
'params'=> array(
$documentUrl = $baseUrl, // Document URL
$documentPath = $_SERVER['DOCUMENT_ROOT'] . '/', // Document Path
),
);
?>
List of Supported Time Zones - PHP