Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CentralNic
php-epp
Commits
8fe7681a
Unverified
Commit
8fe7681a
authored
Dec 13, 2019
by
Nathan Van Overloop
Browse files
centralnic/issues#3769: use globals
parent
4597a004
Changes
2
Hide whitespace changes
Inline
Side-by-side
Net/EPP/Client.php
View file @
8fe7681a
...
...
@@ -50,7 +50,7 @@
*/
public
function
__construct
(
$debug
=
false
)
{
$this
->
debug
=
$debug
;
$
_
GLOBAL
[
'debug'
]
=
$debug
;
$GLOBAL
S
[
'debug'
]
=
$debug
;
$this
->
socket
=
NULL
;
}
...
...
Net/EPP/Protocol.php
View file @
8fe7681a
...
...
@@ -114,7 +114,7 @@ class Net_EPP_Protocol {
*/
static
function
getFrame
(
$socket
)
{
if
(
$
_
GLOBAL
[
'debug'
])
debug_log
(
"start reading first 4 bytes"
);
if
(
$GLOBAL
S
[
'debug'
])
debug_log
(
"start reading first 4 bytes"
);
// Read header
$hdr
=
Net_EPP_Protocol
::
_fread_nb
(
$socket
,
4
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment