lvhao 3 tuần trước cách đây
mục cha
commit
d3b8685e98
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      core/CoreApp/controllers/Systemprint.php

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

@@ -595,6 +595,10 @@ class Systemprint 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:/");
+			
 		}
 		$this->_Template('systemprintmc',$this->data);
 	}