Advertisement
maful

web.php

Feb 14th, 2015
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.49 KB | None | 0 0
  1. <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
  2.  
  3. class Web extends CI_Controller {
  4.  
  5.     function __construct()
  6.     {
  7.         parent::__construct();
  8.         session_start();
  9.     }
  10.  
  11.     public function index()
  12.     {
  13.         $data['menu'] = $this->berita_model->menu_kategori('0','0');
  14.        
  15.         $this->load->view('web/br_top',$data);
  16.         $this->load->view('web/br_home');
  17.         $this->load->view('web/br_bottom');
  18.     }
  19. }
  20.  
  21. /* End of file web.php */
  22. /* Location: ./application/controllers/web.php */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement