X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=lead-confirm.php;h=e21f4f6070ebf6cc7b200ef7e78dba70134f5d5d;hb=0437f06b273f885db05736449a952c6eb72086ca;hp=53c2bfaaf699df4179436990408fb3e50bd3c4da;hpb=7b0f17cd637e388049d2167811e4332cec1e979b;p=mailer.git diff --git a/lead-confirm.php b/lead-confirm.php index 53c2bfaaf6..e21f4f6070 100644 --- a/lead-confirm.php +++ b/lead-confirm.php @@ -36,7 +36,7 @@ * MA 02110-1301 USA * ************************************************************************/ -// Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) ) +// Load security stuff here require('inc/libs/security_functions.php'); // Init "action" and "what" @@ -51,12 +51,12 @@ $GLOBALS['module'] = 'lead-confirm'; $GLOBALS['output_mode'] = '0'; // Load config.php -require('inc/config.php'); +require('inc/config-global.php'); // Is the script installed? if (isInstalled()) { // Header - loadInclude('inc/header.php'); + loadIncludeOnce('inc/header.php'); // Initialize the array for the template $content = array( @@ -91,7 +91,7 @@ if (isInstalled()) { LOAD_TEMPLATE('lead_code', false, $content); // Footer - loadInclude('inc/footer.php'); + loadIncludeOnce('inc/footer.php'); } else { // You have to install first! redirectToUrl('install.php');