Browse Source

Merge pull request #830 from philippfrenzel/patch-4

module should extend \yii\base\Module as \yii\web\Module doesn't exist...
tags/2.0.0-beta
Alexander Makarov 11 years ago
parent
commit
d9d000649a
  1. 2
      framework/yii/gii/generators/module/templates/module.php

2
framework/yii/gii/generators/module/templates/module.php

@ -16,7 +16,7 @@ echo "<?php\n";
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(); ?>';

Loading…
Cancel
Save