43ce5a80 by yangjianbin

init

1 parent 1d1e0328
...@@ -14,11 +14,8 @@ class CheckLogin ...@@ -14,11 +14,8 @@ class CheckLogin
14 { 14 {
15 $session = $this->CI->session; 15 $session = $this->CI->session;
16 if (!$session->products) { 16 if (!$session->products) {
17 $session->products = getProduct(); 17 $session->products = $this->getProduct();
18 var_dump($session->products);
19 } 18 }
20 var_dump($session->products);
21 exit;
22 19
23 /*if (preg_match("/admin|base/i", uri_string())) { 20 /*if (preg_match("/admin|base/i", uri_string())) {
24 if(!$this->CI->session->isadmin){ 21 if(!$this->CI->session->isadmin){
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!