lvhao 17 시간 전
부모
커밋
07a89bd6c8
1개의 변경된 파일3개의 추가작업 그리고 9개의 파일을 삭제
  1. 3 9
      core/CoreApp/controllers/QueueOne.php

+ 3 - 9
core/CoreApp/controllers/QueueOne.php

@@ -15,17 +15,11 @@ class QueueOne extends Start_Controller {
     {
         $ip = $_SERVER['REMOTE_ADDR'];
         if(!in_array($ip,$this->ip)){
-            exit("Unauthorized access");
-        }
-		if($arg == 'u9action')//
-        {
-             $this->_u9action();
+            exit("No direct script access allowed");
         }
 		
-		else 
-        {
-             return ;
-        }
+        $this->_u9action();
+
     }
    
     private function _u9action(){