Blame view

shops/application/controllers/controller_main.php 399 Bytes
8d65d0ce   andryeyev   init
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  <?php
  class Controller_Main extends Controller
  {
      function __construct()
      {   //$this->controller = new Controller();
          $this->model = new Model_Main();
          $this->view = new View();
      }
  	
  	
  	function action_index()
      {	
  	    $data = $this->model->get_data();
  		//$lang = $this->lang_on();
          $this->view->generate('main_view.php', 'template_view.php', $data);
      }
  	
  }
  
  ?>