* -------------------------------------------------------------------- *
* Kurzbeschreibung : AJAX-Bibliothek fuer Adminmenu *
* -------------------------------------------------------------------- *
- * $Revision:: $ *
- * $Date:: $ *
- * $Tag:: 0.2.1-FINAL $ *
- * $Author:: $ *
- * -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2013 by Mailer Developer Team *
+ * Copyright (c) 2009 - 2016 by Mailer Developer Team *
* For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
************************************************************************/
// Some security stuff...
-if ((!defined('__SECURITY')) || (!isAjaxOutputMode()) || (!isAdmin())) {
+if (!defined('__SECURITY')) {
+ die();
+} elseif ((!isAjaxOutputMode()) || (!isAdmin())) {
header('HTTP/1.1 403 Forbidden');
die(json_encode(array('reply_content' => 'Access forbidden'), JSON_FORCE_OBJECT));
} // END - if