remove silencing of @include_once - fixes #20

pull/26/head
David Goodwin 8 years ago
parent 04e54508e5
commit 8c2d447421

@ -6,7 +6,7 @@
* This source file is subject to the GPL license that is bundled with * This source file is subject to the GPL license that is bundled with
* this package in the file LICENSE.TXT. * this package in the file LICENSE.TXT.
* *
* Further details on the project are available at http://postfixadmin.sf.net * Further details on the project are available at http://postfixadmin.sf.net or https://github.com/postfixadmin/postfixadmin
* *
* @version $Id$ * @version $Id$
* @license GNU GPL v2 or later. * @license GNU GPL v2 or later.
@ -20,8 +20,12 @@
* Form POST \ GET Variables: -none- * Form POST \ GET Variables: -none-
*/ */
$CONF['configured'] = FALSE; $CONF = array('configured' => FALSE);
@include_once('config.inc.php'); # hide error message because only $CONF['configured'] is checked here
if(file_exists(dirname(__FILE__) . '/config.inc.php')) {
require_once('config.inc.php');
}
if ( $CONF['configured'] === TRUE ) if ( $CONF['configured'] === TRUE )
{ {
header ("Location: login.php"); header ("Location: login.php");

Loading…
Cancel
Save