<?php require_once('includes/requireadminlogin.inc.php'); require_once('includes/upgrade/upgrade.inc.php'); header("Content-Type: text/plain; charset=utf8"); $upst=check_online_upgrade(); if ($upst['UPGRADE-AVAIL']) echo 'YES'; else echo 'NO'; ?>