X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=beg.php;h=e1f9759a9b809dd9a04ecb51f296ab5ab3e8ed8d;hp=0f69f2a4bafa798b3127766077b2317b27e1be67;hb=c08df20b10d0771e7f749d7afbe1f76be9f1b028;hpb=1c004d0ffe3d1bfee3ea2128f6c0165eda61baf3 diff --git a/beg.php b/beg.php index 0f69f2a4ba..e1f9759a9b 100644 --- a/beg.php +++ b/beg.php @@ -46,7 +46,7 @@ $CSS = -1; $msg = null; // Load the required file(s) -require ("inc/config.php"); +require("inc/config.php"); // Is the "beg" extension active? if (!EXT_IS_ACTIVE("beg")) { @@ -199,7 +199,7 @@ if (isBooleanConstantAndTrue('mxchange_installed')) { // Include config-depending template LOAD_TEMPLATE("beg_pay_code_".strtolower($_CONFIG['beg_pay_mode']), false, $content); - } elseif (!$pay) { + } elseif ((!$pay) && (!defined('__BEG_MSG'))) { // Cannot pay! :-( define('__BEG_MSG', LOAD_TEMPLATE("beg_failed", true)); }