X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fsponsor.php;h=108f1847a9f7d79d4d6c0406b5416bfacb8ca8f3;hp=e4c2617b850c3583774394992cfa7bd8d5b59270;hb=8fad776382e63b3f73f8dbe289f229d79cfc2c22;hpb=20741b93fd58620af677a7f1039ffd16ea6ec689 diff --git a/inc/modules/sponsor.php b/inc/modules/sponsor.php index e4c2617b85..108f1847a9 100644 --- a/inc/modules/sponsor.php +++ b/inc/modules/sponsor.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2011 by Mailer Developer Team * + * Copyright (c) 2009 - 2012 by Mailer Developer Team * * For more information visit: http://mxchange.org * * * * This program is free software. You can redistribute it and/or modify * @@ -36,7 +36,7 @@ // Some security stuff... if (!defined('__SECURITY')) { - die(); + exit(); } elseif ((!isExtensionActive('sponsor'))) { displayMessage('{%pipe,generateExtensionInactiveNotInstalledMessage=sponsor%}'); return; @@ -46,7 +46,7 @@ if (!defined('__SECURITY')) { return; } elseif ((!isWhatSet()) || (getWhat() == '')) { // Empty what value detected! - debug_report_bug(__FUNCTION__, __LINE__, 'what is empty.'); + reportBug(__FUNCTION__, __LINE__, 'what is empty.'); } // A valid sponsor login and we are allowed to enter this module so let's