mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-13 12:49:04 +08:00
Update module.php
module should extend \yii\base\Module as \yii\web\Module doesn't exist... If this is outdated, then pls just ignore it!
This commit is contained in:
@@ -16,7 +16,7 @@ echo "<?php\n";
|
|||||||
namespace <?php echo $ns; ?>;
|
namespace <?php echo $ns; ?>;
|
||||||
|
|
||||||
|
|
||||||
class <?php echo $className; ?> extends \yii\web\Module
|
class <?php echo $className; ?> extends \yii\base\Module
|
||||||
{
|
{
|
||||||
public $controllerNamespace = '<?php echo $generator->getControllerNamespace(); ?>';
|
public $controllerNamespace = '<?php echo $generator->getControllerNamespace(); ?>';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user