You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 line
422 B

  1. <?php
  2. namespace backend\modules\hotel;
  3. /**
  4. * Hotel module definition class
  5. */
  6. class Hotel extends \yii\base\Module
  7. {
  8. /**
  9. * @inheritdoc
  10. */
  11. public $controllerNamespace = 'backend\modules\hotel\controllers';
  12. /**
  13. * @inheritdoc
  14. */
  15. public function init()
  16. {
  17. define('APP_MODULES_PATH', __DIR__);
  18. parent::init();
  19. // custom initialization code goes here
  20. }
  21. }