]> git.mxchange.org Git - mailer.git/blobdiff - index.php
config.php partly solved, see #117
[mailer.git] / index.php
index 16cf25a4328bad567ca58ac8ce3c9615ea36efe7..04c39262426a79035faf6639b1af1532b08543c3 100644 (file)
--- a/index.php
+++ b/index.php
@@ -51,7 +51,7 @@ $GLOBALS['module'] = 'index';
 $GLOBALS['output_mode'] = '0';
 
 // Load config.php
-require('inc/config.php');
+require('inc/config-global.php');
 
 // Is the script installed?
 if (isInstalled()) {
@@ -74,13 +74,13 @@ if (isInstalled()) {
                }
 
                // Template laden
-               LOAD_TEMPLATE('index', false, addUrlData(''));
+               LOAD_TEMPLATE('index');
 
                // Shall I insert an automated forward?
                if (getConfig('index_delay') > 0) {
                        // This will be a JavaScript-redirect!
                        define('__DELAY_VALUE', (getConfig('index_delay') * 1000 + 500));
-                       define('__MOD_VALUE'  , addUrlData('index'));
+                       define('__MOD_VALUE'  , 'index');
                        LOAD_TEMPLATE('index_forward');
                } // END - if
        } else {