Commit 79d37fb3 authored by tbrehm's avatar tbrehm
Browse files

Fixed: PHP Warning: Call-time pass-by-reference has been deprecated - argument...

Fixed: PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of fsockopen(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /usr/local/ispconfig/server/mods-available/monitor_core_module.inc.php on line 1236
parent 51c815ad
......@@ -1233,7 +1233,7 @@ class monitor_core_module {
function _checkTcp ($host,$port) {
$fp = @fsockopen ($host, $port, &$errno, &$errstr, 2);
$fp = @fsockopen ($host, $port, $errno, $errstr, 2);
if ($fp) {
fclose($fp);
......@@ -1245,7 +1245,7 @@ class monitor_core_module {
function _checkUdp ($host,$port) {
$fp = @fsockopen ('udp://'.$host, $port, &$errno, &$errstr, 2);
$fp = @fsockopen ('udp://'.$host, $port, $errno, $errstr, 2);
if ($fp) {
fclose($fp);
......
Supports Markdown
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