diff --git a/platform/HuaweiFG_file.php b/platform/HuaweiFG_file.php index 353f7b1..ca34546 100644 --- a/platform/HuaweiFG_file.php +++ b/platform/HuaweiFG_file.php @@ -74,6 +74,7 @@ function GetPathSetting($event, $context) $_SERVER['referhost'] = explode('/', $event['headers']['referer'])[2]; $_SERVER['HTTP_TRANSLATE'] = $event['headers']['translate'];//'f' $_SERVER['HTTP_IF_MODIFIED_SINCE'] = $event['headers']['if-modified-since']; + $_SERVER['REQUEST_METHOD'] = $event['httpMethod']; $_SERVER['_APP_SHARE_DIR'] = '/var/share/CFF/processrouter'; return $path; }