Browse Source

提交数据

lvhao 3 tuần trước cách đây
mục cha
commit
158bbd4311
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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);