43ce5a80 by yangjianbin

init

1 parent 1d1e0328
......@@ -14,11 +14,8 @@ class CheckLogin
{
$session = $this->CI->session;
if (!$session->products) {
$session->products = getProduct();
var_dump($session->products);
$session->products = $this->getProduct();
}
var_dump($session->products);
exit;
/*if (preg_match("/admin|base/i", uri_string())) {
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!