| Line 10... |
Line 10... |
| 10 |
parent::__construct();
|
10 |
parent::__construct();
|
| 11 |
$admin = $this->session->userdata('admin');
|
11 |
$admin = $this->session->userdata('admin');
|
| 12 |
// if(!isset($admin) || empty($admin)) {
|
12 |
// if(!isset($admin) || empty($admin)) {
|
| 13 |
// redirect(base_url().'authorize');
|
13 |
// redirect(base_url().'authorize');
|
| 14 |
// }
|
14 |
// }
|
| - |
|
15 |
$this->output->set_header("Expires: Tue, 01 Jan 2000 00:00:00 GMT");
|
| - |
|
16 |
$this->output->set_header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
|
| - |
|
17 |
$this->output->set_header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
|
| - |
|
18 |
$this->output->set_header("Cache-Control: post-check=0, pre-check=0", false);
|
| - |
|
19 |
$this->output->set_header("Pragma: no-cache");
|
| 15 |
$this->layout->setlayout('layout/layout_main');
|
20 |
$this->layout->setlayout('layout/layout_main');
|
| 16 |
$this->load->model('checkout_model');
|
21 |
$this->load->model('checkout_model');
|
| 17 |
$this->load->model('captcha_model');
|
22 |
$this->load->model('captcha_model');
|
| 18 |
$this->layoutName= $this->layout->getLayout();
|
23 |
$this->layoutName= $this->layout->getLayout();
|
| 19 |
$this->layoutName =substr($this->layoutName , 0, strrpos($this->layoutName , "/")).'/';
|
24 |
$this->layoutName =substr($this->layoutName , 0, strrpos($this->layoutName , "/")).'/';
|