From: Alan Date: Thu, 13 Apr 2023 07:44:01 +0000 (+0800) Subject: fix request X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=7123424487802e2aea4b6a50be803f5b6e06729d fix request --- 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'; }