/web/acc/menu.php |
---|
29,13 → 29,9 |
exit(); |
} |
// Get current version |
$installed_version = trim(exec("grep ^VERSION /usr/local/etc/alcasar.conf | cut -d'=' -f2")); |
$file_version = "/var/www/html/VERSION"; |
$handle = fopen ($file_version, "r"); |
$full_version = fread ($handle, filesize ($file_version)); |
fclose ($handle); |
$tab = explode (" ", $full_version); |
$installed_version = $tab[0]; |
# Choice of language |
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) |
{ |