diff options
-rwxr-xr-x | php/cache.js | 1 |
1 files changed, 0 insertions, 1 deletions
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("\\\$") + "\";" |