main.php 260 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 <?php return array( 'id' => 'hello', 'basePath' => dirname(__DIR__), 'components' => array( 'cache' => array( 'class' => 'yii\caching\FileCache', ), 'user' => array( 'class' => 'yii\web\User', 'identityClass' => 'app\models\User', ) ), );