From 88c3246764e45efda7516d5c516d4581211e3fb6 Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Sun, 6 Jan 2008 19:47:45 +0000 Subject: [PATCH] setup.php: - added check for $CONF['configured'] git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@289 a1433add-5e2c-0410-b055-b7f2511e0802 --- setup.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/setup.php b/setup.php index 62e1a287..2a927b13 100644 --- a/setup.php +++ b/setup.php @@ -113,6 +113,16 @@ if ($file_config == 1) print "
  • Depends on: presence config.inc.php - OK
  • \n"; require_once('config.inc.php'); $config_loaded = 1; + + require('config.inc.php'); + if(isset($CONF['configured'])) { + if($CONF['configured'] == TRUE) { + print "
  • Checking \$CONF['configured'] - OK\n"; + } else { + print "
  • Error: \$CONF['configured'] is 'false'.
    \n"; + print "Please edit your config.inc.php settings and then change it.
    \n"; + } + } } else {