X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=doubler.php;h=2b0d5c6dd7f262e0ca038f3cdc805fc155d9cc52;hp=182b473cbb838430740923d87086f7b4f7491682;hb=8ece7fd45c386f7ccd60f9c4800ad207602b0240;hpb=5bdeaf8b452206598b6c6cd4f941145b11a0eccc diff --git a/doubler.php b/doubler.php index 182b473cbb..2b0d5c6dd7 100644 --- a/doubler.php +++ b/doubler.php @@ -46,7 +46,7 @@ $GLOBALS['refid'] = 0; $CSS = 0; // Load the required file(s) -require("inc/config.php"); +require_once("inc/config.php"); // Is the "doubler" extension active? if (!EXT_IS_ACTIVE("doubler")) { @@ -208,10 +208,10 @@ if (isBooleanConstantAndTrue('mxchange_installed')) { if (!defined('__ERROR_MSG')) define('__ERROR_MSG' , ""); // Shall I check for points immediately? - if (getConfig('doubler_send_mode') == "DIRECT") require(PATH."inc/doubler_send.php"); + if (getConfig('doubler_send_mode') == "DIRECT") LOAD_INC("inc/doubler_send.php"); // Output header - require(PATH."inc/header.php"); + LOAD_INC("inc/header.php"); // Banner in text define('__DOUBLER_BANNER', LOAD_TEMPLATE("doubler_banner", true)); @@ -272,7 +272,7 @@ if (isBooleanConstantAndTrue('mxchange_installed')) { LOAD_TEMPLATE("doubler_index"); // Output footer - require(PATH."inc/footer.php"); + LOAD_INC("inc/footer.php"); } else { // You have to install first! LOAD_URL("install.php");