X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fajax%2Fajax_;h=20099b8c059f98c531f5a3fc8938d4617094fd15;hb=f2b603aed42bfdf7a94611d7bae71fe3a1048890;hp=84b5c7f2b7502d0d6a2e7e9c85013a00bdd41e09;hpb=6a675521bf2bf11b0cd521a9c602085f7bec5283;p=mailer.git diff --git a/inc/ajax/ajax_ b/inc/ajax/ajax_ index 84b5c7f2b7..20099b8c05 100644 --- a/inc/ajax/ajax_ +++ b/inc/ajax/ajax_ @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2012 by Mailer Developer Team * + * Copyright (c) 2009 - 2013 by Mailer Developer Team * * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -37,7 +37,8 @@ // Some security stuff... if ((!defined('__SECURITY')) || (!isAjaxOutputMode())) { - die(); + header('HTTP/1.1 403 Forbidden'); + die(json_encode(array('reply_content' => 'Access forbidden'), JSON_FORCE_OBJECT)); } // END - if // [EOF]