]> git.mxchange.org Git - mailer.git/commitdiff
Fix for broken index and maybe more
authorRoland Häder <roland@mxchange.org>
Sun, 1 Mar 2009 19:43:40 +0000 (19:43 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 1 Mar 2009 19:43:40 +0000 (19:43 +0000)
inc/config.php
inc/functions.php

index 4cfa57bbbf36aee8a0d990951e82ed04981c2783..963738bfcbe3508a7beb209ea3e2e31609500a2b 100644 (file)
@@ -99,10 +99,10 @@ define('PATH', $PATH);
 define('WEBMASTER', "you@some-hoster.tld.invalid");
 
 // CFG: INSTALLED
-define('mxchange_installed', false);
+define('mxchange_installed', true);
 
 // CFG: ADMIN-SETUP
-define('admin_registered', false);
+define('admin_registered', true);
 
 // CFG: FRAMESET
 define('frameset_active', false);
@@ -130,11 +130,11 @@ $MySQL = array(
        // CFG: MYSQL-HOST
        'host'     => "localhost",
        // CFG: MYSQL-DBASE
-       'dbase'    => "db",
+       'dbase'    => "mxchange",
        // CFG: MYSQL-LOGIN
-       'login'    => "user",
+       'login'    => "root",
        // CFG: MYSQL-PASSWORD
-       'password' => "pass",
+       'password' => "ab57dk90",
 );
 
 // CFG: MYSQL-PREIFX
@@ -151,7 +151,7 @@ define('LEAD_EXPIRY_TIME' , (30*24*60*60)); // == 30 days
 // CFG: SMTP-HOSTNAME
 define('SMTP_HOSTNAME', "");
 // CFG: SMTP-USER
-define('SMTP_USER'    , "");
+define('SMTP_USER', "");
 // CFG: SMTP-PASSWORD
 define('SMTP_PASSWORD', "");
 
index 01dd840977e15583dbfaf171e096e672cf0d025f..8dac96a08f566065a7c96504feaf8ef1ce0fc360 100644 (file)
@@ -101,7 +101,7 @@ function OUTPUT_HTML ($HTML, $newLine = true) {
                        mxchange_die("<strong>{--FATAL_ERROR--}:</strong> {--LANG_NO_RENDER_DIRECT--}");
                        break;
                }
-       } elseif ((constant('_OB_CACHING') == "on") && ($GLOBALS['footer_sent'] == 1)) {
+       } elseif ((constant('_OB_CACHING') == "on") && (isset($GLOBALS['footer_sent'])) && ($GLOBALS['footer_sent'] == 1)) {
                // Headers already sent?
                if (headers_sent()) {
                        // Log this error