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.
 
 
 
 
 
 

25 lines
424 B

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