lvhao hai 3 semanas
pai
achega
158bbd4311
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      core/CoreApp/controllers/Systemfout.php

+ 4 - 0
core/CoreApp/controllers/Systemfout.php

@@ -499,6 +499,10 @@ class Systemfout extends Start_Controller {
 			$warehouse = $this->warehouse->find_all('1=1 and '.rtrim($wid,'or'),"*","px asc");
 		    $this->data['wlshop'] = $wlshop;
 		    $this->data['warehouse'] = $warehouse;
+		}else{
+			//未登录不允许访问
+			header("location:/");
+			exit;
 		}
 		$this->data['xw'] = $xw;
 		$this->_Template('systemfoutmc',$this->data);