From fd3e54cbd3c40132f1b6cf18ebc12314d49bf972 Mon Sep 17 00:00:00 2001 From: Minteck Date: Fri, 18 Feb 2022 12:49:25 +0000 Subject: Update cache.js --- php/cache.js | 1 - 1 file changed, 1 deletion(-) (limited to 'php/cache.js') diff --git a/php/cache.js b/php/cache.js index 8cfe5e1..2d44cb6 100755 --- a/php/cache.js +++ b/php/cache.js @@ -67,7 +67,6 @@ module.exports = (req, res, file, post, files) => { content = content + "\n$_FILES = [];"; content = content + "\n$_POST = [];"; content = content + "\n$_GET = [];"; - content = content + "\n$GLOBALS = [];"; content = content + "\n$GLOBALS[\"SYSTEM_ROOT\"] = \"\";"; Object.keys(parsed.query).forEach((key) => { content = content + "\n$_GET[\"" + key.split("\"").join("\\\"").split("$").join("\\\$") + "\"] = \"" + parsed.query[key].split("\"").join("\\\"").split("$").join("\\\$") + "\";" -- cgit