]> git.mxchange.org Git - mailer.git/blobdiff - lead-confirm.php
Migration of stelzi's commit 1022 with some changes so we have a nicer code. See...
[mailer.git] / lead-confirm.php
index 53c2bfaaf699df4179436990408fb3e50bd3c4da..e21f4f6070ebf6cc7b200ef7e78dba70134f5d5d 100644 (file)
@@ -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');