here is config
<?php
return array(
'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',
'name'=>'Vanix Net',
'theme'=>'vanixnew',
'language'=>'ru',
'preload'=>array('log'),
'import'=>array(
'application.models.*',
'application.components.*'
),
'components'=>array(
'log'=>array(
'class'=>'CLogRouter',
'routes'=>array(
array(
'class' => 'CWebLogRoute',
'levels' => 'trace, info, error, warning',
'categories' => 'system.*',
'showInFireBug' => false
),
array(
'class'=>'CFileLogRoute',
'levels'=>'trace, info',
'categories'=>'system.*',
)
)
),
'urlManager'=>array(
'urlFormat'=>'path',
'urlSuffix'=>'.html',
'showScriptName'=>false,
'rules'=>array(
''=>'news/list',
'backend'=>'backend/index',
'backend/login'=>'backend/login',
'login'=>'users/login',
'registration'=>'users/registration',
'users/<user:[a-zA-Z0-9_-]+>'=>'users/detail',
'archive/<day:d{2}><month:d{2}><year:d{4}>'=>'news/archive',
'<category:[a-zA-Z0-9_-]+>'=>'news/category',
'<category:[a-zA-Z0-9_-]+>/<news:[a-zA-Z0-9_-]+>'=>'news/full',
'<category:[a-zA-Z0-9_-]+>/<news:[a-zA-Z0-9_-]+>/add'=>'comments/create'
)
),
'user'=>array(
'allowAutoLogin'=>true,
'loginUrl'=>array('users/login'),
),
'db'=>array(
'class'=>'CDbConnection',
'connectionString'=>'mysql:host=localhost;dbname=vanixnew',
'username'=>'vanixnew',
'password'=>'vanixnew',
'charset'=>'utf8'
//'schemaCachingDuration'=>'30'
),
'authManager'=>array(
'class'=>'CDbAuthManager',
'connectionID'=>'db'
),
'request'=>array(
'enableCsrfValidation'=>flase,
'enableCookieValidation'=>false
),
/*'cache'=>array(
'class'=>'CMemCache',
'servers'=>array(
array(
'host'=>'127.0.0.1',
'port'=>11211,
'weight'=>60
)
)
),*/
),
'params'=>array(
'adminEmail'=>'webmaster@example.com' ,
'keywords'=>'',
'commentNeedApproval'=>false,
'useAjax'=>true
)
);
i'll upload it in few moments