Notice added to always include debug.log in your full bug report
[mailer.git] / index.php
index 04c39262426a79035faf6639b1af1532b08543c3..8b38b1e2e352f7d2b731d572a9e1f8007dc2f6b3 100644 (file)
--- a/index.php
+++ b/index.php
@@ -56,7 +56,7 @@ require('inc/config-global.php');
 // Is the script installed?
 if (isInstalled()) {
        // Header
-       loadInclude('inc/header.php');
+       loadIncludeOnce('inc/header.php');
 
        // Fix missing array elements here
        if (!isConfigEntrySet('index_delay'))  setConfigEntry('index_delay' , 0);
@@ -89,7 +89,7 @@ if (isInstalled()) {
        }
 
        // Footer
-       loadInclude('inc/footer.php');
+       loadIncludeOnce('inc/footer.php');
 } else {
        // You have to install first!
        redirectToUrl('install.php');