// Some security stuff...
if ((!defined('__SECURITY')) || (!isAjaxOutputMode()) || (!isAdmin())) {
- die();
+ header('HTTP/1.1 403 Forbidden');
+ die(json_encode(array('reply_content' => 'Access forbidden'), JSON_FORCE_OBJECT));
} // END - if
// "Generates" admin content by loading a message template