stanley-king 4 年之前
父节点
当前提交
3d74ec8ee8
共有 1 个文件被更改,包括 13 次插入0 次删除
  1. 13 0
      helper/fcgisrv/MobileServer.php

+ 13 - 0
helper/fcgisrv/MobileServer.php

@@ -65,6 +65,19 @@ class MobileServer extends BaseServer
         $this->setExFiles($exfiles);
     }
 
+    protected function is_exclude($file)
+    {
+        $ret = parent::is_exclude($file);
+        if($ret) {
+            return true;
+        }
+        else {
+            $path = BASE_ROOT_PATH . "/" . $this->mSubPath . "/";
+            $file = str_replace($path,'',$file);
+            return in_array($file,$this->mExFiles);
+        }
+    }
+
     protected function preLooper()
     {
         parent::preLooper();