first commit
This commit is contained in:
24
backend/modules/news/News.php
Executable file
24
backend/modules/news/News.php
Executable file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace backend\modules\news;
|
||||
|
||||
/**
|
||||
* news module definition class
|
||||
*/
|
||||
class News extends \yii\base\Module
|
||||
{
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public $controllerNamespace = 'app\modules\news\controllers';
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function init()
|
||||
{
|
||||
parent::init();
|
||||
|
||||
// custom initialization code goes here
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user