Skip to content

Commit 66f3245

Browse files
committed
adding $_COOKIE and $_SESSION superglobals
1 parent 6ba456b commit 66f3245

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Naneau/Obfuscator/Node/Visitor/ScrambleVariable.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ public function __construct(StringScrambler $scrambler)
4444
parent::__construct($scrambler);
4545

4646
$this->setIgnore(array(
47-
'this', '_SERVER', '_POST', '_GET', '_REQUEST', '_ENV'
47+
'this', '_SERVER', '_POST', '_GET', '_REQUEST', '_COOKIE',
48+
'_SESSION', '_ENV'
4849
));
4950
}
5051

0 commit comments

Comments
 (0)