mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-17 14:57:23 +08:00
Added namespace to the controllers of the bootstrap app.
This commit is contained in:
@@ -4,6 +4,7 @@ return array(
|
||||
'id' => 'bootstrap',
|
||||
'basePath' => dirname(__DIR__),
|
||||
'preload' => array('log'),
|
||||
'controllerNamespace' => 'app\controllers',
|
||||
'modules' => array(
|
||||
// 'debug' => array(
|
||||
// 'class' => 'yii\debug\Module',
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
namespace app\controllers;
|
||||
|
||||
use yii\web\Controller;
|
||||
use app\models\LoginForm;
|
||||
use app\models\ContactForm;
|
||||
|
||||
Reference in New Issue
Block a user