Logo white

Administrator / extremepride

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • extremepride
  • shops
  • application
  • controllers
  • controller_main.php
  • init
    8d65d0ce
    andryeyev authored
    2016-01-27 15:54:16 +0200  
    Browse Code ยป
controller_main.php 399 Bytes
Edit Raw Blame History Permalink
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);
    }
	
}

?>