Explorar o código

修改customer 没登陆就获取

lvhao hai 2 días
pai
achega
c42b0a9733
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      core/CoreApp/controllers/Customer.php

+ 2 - 1
core/CoreApp/controllers/Customer.php

@@ -285,7 +285,8 @@ class Customer extends Start_Controller {
 		}
 		else
 		{
-			$vip = 0;
+	    	$vip = 0;
+			header('Location: /');exit;
 		}
 		$post = $this->input->post(NULL, TRUE);
 		if(isset($post['page']))