Migration of stelzi's commit 1022 with some changes so we have a nicer code. See...
[mailer.git] / lead-confirm.php
index 3078aa5b47e7bc33869c4e14d79385810e94910c..e21f4f6070ebf6cc7b200ef7e78dba70134f5d5d 100644 (file)
@@ -56,7 +56,7 @@ 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');