update 1.2.3p1
This commit is contained in:
parent
e91c0ac8f7
commit
b6f860250f
@ -4,7 +4,7 @@
|
|||||||
error_reporting(E_ALL ^ E_NOTICE);
|
error_reporting(E_ALL ^ E_NOTICE);
|
||||||
|
|
||||||
@set_time_limit(0);
|
@set_time_limit(0);
|
||||||
define("VERSION", "1.2.3");
|
define("VERSION", "1.2.3p1");
|
||||||
$debug = False;
|
$debug = False;
|
||||||
$ua = "'Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36'";
|
$ua = "'Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36'";
|
||||||
$timeout = 5;
|
$timeout = 5;
|
||||||
@ -166,7 +166,7 @@ try {
|
|||||||
$output = "file";
|
$output = "file";
|
||||||
break;
|
break;
|
||||||
case "s" :
|
case "s" :
|
||||||
$output = "display";
|
$output = "socket";
|
||||||
break;
|
break;
|
||||||
endswitch;
|
endswitch;
|
||||||
else :
|
else :
|
||||||
@ -298,7 +298,7 @@ elseif($output == "file") :
|
|||||||
exit;
|
exit;
|
||||||
endif;
|
endif;
|
||||||
elseif($output == "socket") :
|
elseif($output == "socket") :
|
||||||
if($default_xml_socket && php_sapi_name() != "cli") :
|
if($default_xml_socket && php_sapi_name() == "cli") :
|
||||||
$default_xml_socket = "unix://".$default_xml_socket;
|
$default_xml_socket = "unix://".$default_xml_socket;
|
||||||
$fp = @fsockopen($default_xml_socket, -1, $errno, $errstr, 30);
|
$fp = @fsockopen($default_xml_socket, -1, $errno, $errstr, 30);
|
||||||
if ($fp === False) :
|
if ($fp === False) :
|
||||||
|
Loading…
x
Reference in New Issue
Block a user