1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<?php require_once APPPATH . 'core/MY_Controller_2.php';
class Message extends MY_Controller_2 { public function __construct(){ parent::__construct(); }
public function index() { if (empty($_SESSION['msg_type'])) { header("Location: ../../../" . get_lang() . "/index.php"); } $this->load->view('main/message'); unset($_SESSION['msg_type']); } }
|