mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-06 08:16:35 +00:00
svn -> git Migration
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<?
|
||||
my $act = $request->get("action", "none");
|
||||
if($act eq "unlock") {
|
||||
$EQW->UnlockWorld();
|
||||
} elsif($act eq "lock") {
|
||||
$EQW->LockWorld();
|
||||
} elsif($act eq "lsreconnect") {
|
||||
$EQW->LSReconnect();
|
||||
}
|
||||
|
||||
print "{";
|
||||
if($EQW->LSConnected()) {
|
||||
print "\"connected\" : \"1\",";
|
||||
} else {
|
||||
print "\"connected\" : \"0\",";
|
||||
}
|
||||
if($EQW->GetConfig("Locked") eq "true") {
|
||||
print "\"locked\" : \"1\"";
|
||||
} else {
|
||||
print "\"locked\" : \"0\"";
|
||||
}
|
||||
print "}";
|
||||
?>
|
||||
Reference in New Issue
Block a user