]> git.mxchange.org Git - mailer.git/blobdiff - beg.php
If no extension 'other' is installed, 16 years is hard-coded the default. You should...
[mailer.git] / beg.php
diff --git a/beg.php b/beg.php
index 0f69f2a4bafa798b3127766077b2317b27e1be67..e1f9759a9b809dd9a04ecb51f296ab5ab3e8ed8d 100644 (file)
--- 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));
                        }