From 7123424487802e2aea4b6a50be803f5b6e06729d Mon Sep 17 00:00:00 2001 From: Alan Date: Thu, 13 Apr 2023 15:44:01 +0800 Subject: [PATCH] fix request --- Asset.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Asset.php b/Asset.php index bc1edc39..5fc3e6a7 100644 --- a/Asset.php +++ b/Asset.php @@ -46,7 +46,7 @@ class Pman_Core_Asset extends Pman { } $ext = $bits[0]; - if (preg_match('/\.map$/',$_REQUEST_URI)) { + if (preg_match('/\.map$/',$_SERVER['REQUEST_URI'])) { $ext = 'map'; } -- 2.39.2