Initial import
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace app\controllers;
|
||||
use yii\web\Controller;
|
||||
|
||||
class BaseController extends Controller
|
||||
{
|
||||
|
||||
|
||||
public $layout = 'public';
|
||||
public $userType = '';
|
||||
public $pageTitle = '';
|
||||
public $userTypeKey = '';
|
||||
|
||||
public function beforeAction($action)
|
||||
{
|
||||
date_default_timezone_set('Europe/Sofia');
|
||||
return parent::beforeAction($action);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user