Blame view

frontend/controllers/LandingController.php 382 Bytes
0ae6f109   Administrator   firs page
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  <?php
  /**
   * Created by PhpStorm.
   * User: vitaliy
   * Date: 26.01.16
   * Time: 13:30
   */
  
  namespace frontend\controllers;
  
  
  class LandingController {
  
      public function ViewAction($view)
      {
89758aeb   Administrator   firs page
16
17
18
19
20
21
22
23
24
25
          die($view);
          try{
  
              $this->render($view);
  
          }
          catch(\yii\base\InvalidParamException $e){
              $this->render('site/404');
          }
  
0ae6f109   Administrator   firs page
26
27
28
      }
  
  }