浏览代码

提交数据

lvhao 3 周之前
父节点
当前提交
158bbd4311
共有 1 个文件被更改,包括 4 次插入0 次删除
  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);