query fixes
This commit is contained in:
parent
9e94aa87f2
commit
c2dc2115aa
|
|
@ -168,7 +168,7 @@ public class SimpleHTTPServer
|
|||
{
|
||||
argString += args[k] + " ";
|
||||
}
|
||||
proc.StartInfo.Arguments = "-d \"display_errors=1\" -d \"error_reporting=E_PARSE\" \"" + pageFileName + "\" " + argString;
|
||||
proc.StartInfo.Arguments = "-d \"display_errors=1\" -d \"error_reporting=E_PARSE\" -d \"opcache.enable_cli=0\" -d \"opcache.enable=0\" \"" + pageFileName + "\" " + argString;
|
||||
proc.StartInfo.CreateNoWindow = true;
|
||||
proc.StartInfo.UseShellExecute = false;
|
||||
proc.StartInfo.RedirectStandardOutput = true;
|
||||
|
|
|
|||
|
|
@ -15,10 +15,6 @@ $port = $argv[3];
|
|||
$client = $argv[4];
|
||||
//online status
|
||||
$online = $argv[5];
|
||||
//maxplayers
|
||||
$players = $argv[6];
|
||||
//maxplayers
|
||||
$maxplayers = $argv[7];
|
||||
|
||||
//strings
|
||||
$deleteentry = 1;
|
||||
|
|
@ -47,5 +43,5 @@ if ($deleteentry == 1)
|
|||
}
|
||||
|
||||
// Display the server info to browsers.
|
||||
echo "$name.<br>A $client server.<br>Server Status: $status<br>Players: $players/$maxplayers";
|
||||
echo "$name.<br>A $client server.<br>Server Status: $status";
|
||||
?>
|
||||
Loading…
Reference in New Issue