mirror of
https://github.com/yiisoft/yii.git
synced 2026-03-09 09:36:56 +01:00
19 lines
474 B
PHP
19 lines
474 B
PHP
<?php
|
|
|
|
// This is the main application configuration. Any writable
|
|
// application properties can be configured here.
|
|
return array(
|
|
'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',
|
|
'name'=>'My Web Application',
|
|
'import'=>array(
|
|
'application.models.*',
|
|
),
|
|
'defaultController'=>'site',
|
|
'components'=>array(
|
|
'user'=>array(
|
|
'class'=>'application.components.WebUser',
|
|
'allowAutoLogin'=>true,
|
|
'loginUrl'=>array('user/login'),
|
|
),
|
|
),
|
|
); |