]> git.mxchange.org Git - mailer.git/blobdiff - lead-confirm.php
Redirect was debugged as well...
[mailer.git] / lead-confirm.php
index 24c3e4d2b7deefe22088e83c3a3d1737faf66ec5..e21f4f6070ebf6cc7b200ef7e78dba70134f5d5d 100644 (file)
@@ -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');