public static function CheckSuper() { if (!Authenticate::IsSuperUser()) { if (defined('TUBEX_AJAX')) { JSON::Error('Only superuser control panel accounts can access this function'); } else { include_once 'cp-superuser-only.php'; } exit; } }
function _xFunctionMissing() { JSON::Error('Function argument was missing from the request'); }