diff options
author | Minteck <contact@minteck.org> | 2022-02-18 12:49:25 +0000 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-02-18 12:49:25 +0000 |
commit | fd3e54cbd3c40132f1b6cf18ebc12314d49bf972 (patch) | |
tree | 7ca48de71d13246fb0a77e23029b4ccd02d916d4 | |
parent | 80537126f67a83ba9b9557fd8a5424c8320c8e93 (diff) | |
download | electrode-trunk.tar.gz electrode-trunk.tar.bz2 electrode-trunk.zip |
-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("\\\$") + "\";" |