diff --git a/.devilbox/www/htdocs/_ajax_callback.php b/.devilbox/www/htdocs/_ajax_callback.php index 3e17387e..f002edab 100644 --- a/.devilbox/www/htdocs/_ajax_callback.php +++ b/.devilbox/www/htdocs/_ajax_callback.php @@ -85,12 +85,12 @@ if (loadClass('Helper')->isLoggedIn()) { } else if ($_GET['software'] == 'symfony') { echo json_encode(array( - $_GET['software'] => (($version = loadClass('Php')->getPhalconVersion()) !== false) ? $version : $no + $_GET['software'] => (($version = loadClass('Php')->getSymfonyVersion()) !== false) ? $version : $no )); } else if ($_GET['software'] == 'wpcli') { echo json_encode(array( - $_GET['software'] => (($version = loadClass('Php')->getSymfonyVersion()) !== false) ? $version : $no + $_GET['software'] => (($version = loadClass('Php')->getWpcliVersion()) !== false) ? $version : $no )); } else { echo json_encode(array($_GET['software'] => 'unknown software'));