From af0d7727246bdfb13ab844727ac75750ad5d21b7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 1 Mar 2009 19:43:40 +0000 Subject: [PATCH] Fix for broken index and maybe more --- inc/config.php | 12 ++++++------ inc/functions.php | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/inc/config.php b/inc/config.php index 4cfa57bbbf..963738bfcb 100644 --- a/inc/config.php +++ b/inc/config.php @@ -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', ""); diff --git a/inc/functions.php b/inc/functions.php index 01dd840977..8dac96a08f 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -101,7 +101,7 @@ function OUTPUT_HTML ($HTML, $newLine = true) { mxchange_die("{--FATAL_ERROR--}: {--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 -- 2.39.5