diff --git a/ajax.php b/ajax.php index 078cb21..2aa6dc7 100644 --- a/ajax.php +++ b/ajax.php @@ -41,7 +41,7 @@ $limit->rateLimit($rateLimit); // execute command - $output = $lg->$_GET['cmd']($_GET['host']); + $output = $lg->{$_GET['cmd']}($_GET['host']); if ($output) { exit(); } diff --git a/index.php b/index.php index ee4b6e2..69afb06 100644 --- a/index.php +++ b/index.php @@ -85,7 +85,7 @@ } ?>
- +