30 lines
474 B
PHP
30 lines
474 B
PHP
<?php
|
|
|
|
namespace app\controllers;
|
|
|
|
use Yii;
|
|
use yii\filters\AccessControl;
|
|
use yii\web\Controller;
|
|
use yii\filters\VerbFilter;
|
|
use app\models\LoginForm;
|
|
use app\models\ContactForm;
|
|
|
|
class SiteController extends Controller
|
|
{
|
|
|
|
public function actions()
|
|
{
|
|
return [
|
|
'error' => [
|
|
'class' => 'yii\web\ErrorAction',
|
|
],
|
|
];
|
|
}
|
|
|
|
public function actionIndex()
|
|
{
|
|
return $this->render('index');
|
|
}
|
|
|
|
}
|