| 1 | <?php |
||
| 7 | class Module extends \yii\base\Module |
||
| 8 | { |
||
| 9 | public $controllerNamespace = 'markmarco16\git\controllers'; |
||
| 10 | |||
| 11 | public $gitDir; |
||
| 12 | |||
| 13 | public $datetimeFormat = '%Y-%m-%d %H:%M:%S'; |
||
| 14 | |||
| 15 | public $subjectMaxLength = 80; |
||
| 16 | |||
| 17 | /** @var array The rules to be used in URL management. */ |
||
| 18 | //public $urlRules = [ |
||
| 19 | // '<id:\d+>' => 'document/view', |
||
| 20 | /* |
||
| 21 | '<action:(login|logout)>' => 'security/<action>', |
||
| 22 | '<action:(register|resend)>' => 'registration/<action>', |
||
| 23 | 'confirm/<id:\d+>/<code:\w+>' => 'registration/confirm', |
||
| 24 | 'forgot' => 'recovery/request', |
||
| 25 | 'recover/<id:\d+>/<code:\w+>' => 'recovery/reset', |
||
| 26 | 'settings/<action:\w+>' => 'settings/<action>' |
||
| 27 | */ |
||
| 28 | //]; |
||
| 29 | |||
| 30 | public function init() |
||
| 35 | } |
||
| 36 |