Open cris1 opened 8 years ago
This adjustment fixed the "PHP Fatal error: Uncaught Error: Function name must be a string in Ajax.php" for me running PHP7.0
$output = $lg->$_GET['cmd']($_GET['host']); Change to $output = $lg->{$_GET['cmd']}($_GET['host']);
$output = $lg->$_GET['cmd']($_GET['host']);
$output = $lg->{$_GET['cmd']}($_GET['host']);
This adjustment fixed the "PHP Fatal error: Uncaught Error: Function name must be a string in Ajax.php" for me running PHP7.0