stanley-king 4 years ago
parent
commit
3d74ec8ee8
1 changed files with 13 additions and 0 deletions
  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();