From 476e56c6b8d5fb8999a6008ab3559710101999fa Mon Sep 17 00:00:00 2001 From: pedro_morgan <pedro_morgan@ispconfig3> Date: Fri, 17 Aug 2007 20:33:22 -0400 Subject: [PATCH] Trying to silence e_NOTICE warnings --- interface/lib/config.inc.php | 20 ++++++++------------ 1 files changed, 8 insertions(+), 12 deletions(-) diff --git a/interface/lib/config.inc.php b/interface/lib/config.inc.php index fa7d140..53e7f18 100644 --- a/interface/lib/config.inc.php +++ b/interface/lib/config.inc.php @@ -27,21 +27,17 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -Header("Pragma: no-cache"); -Header("Cache-Control: no-store, no-cache, max-age=0, must-revalidate"); -Header("Content-Type: text/html"); - -ini_set('register_globals',0); - -$conf["app_title"] = "ISPConfig"; -$conf["app_version"] = "3.0.0"; -$conf["modules_available"] = "admin,mail,sites,monitor,client,dns"; +Header('Pragma: no-cache'); +Header('Cache-Control: no-store, no-cache, max-age=0, must-revalidate'); +Header('Content-Type: text/html'); -/* - Database Settings -*/ +//** Key paramaters +$conf['app_title'] = 'ISPConfig'; +$conf['app_version'] = '3.0.0'; +$conf['modules_available'] = 'admin,mail,sites,monitor,client,dns'; +//** Database Settings $conf["db_type"] = 'mysql'; $conf["db_host"] = 'localhost'; $conf["db_database"] = 'ispconfig3'; -- Gitblit v1.9.1