Browse Source

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!
tags/2.0.0-beta
Philipp Frenzel 11 years ago
parent
commit
70d263d66e
  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; ?>; 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(); ?>';

Loading…
Cancel
Save