Unverified Commit 8fe7681a authored by Nathan Van Overloop's avatar Nathan Van Overloop
Browse files

centralnic/issues#3769: use globals

parent 4597a004
......@@ -50,7 +50,7 @@
*/
public function __construct($debug = false) {
$this->debug = $debug;
$_GLOBAL['debug']=$debug;
$GLOBALS['debug']=$debug;
$this->socket = NULL;
}
......
......@@ -114,7 +114,7 @@ class Net_EPP_Protocol {
*/
static function getFrame($socket) {
if($_GLOBAL['debug']) debug_log("start reading first 4 bytes");
if($GLOBALS['debug']) debug_log("start reading first 4 bytes");
// Read header
$hdr = Net_EPP_Protocol::_fread_nb($socket,4);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment