0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00

skip this check if unit test

This commit is contained in:
David Goodwin 2019-01-03 19:35:33 +00:00
parent 897893f3ce
commit 7e7f644952

View File

@ -63,7 +63,7 @@ global $CONF;
require_once("$incpath/config.inc.php");
if (isset($CONF['configured'])) {
if (isset($CONF['configured']) && !defined('PHPUNIT_TEST')) {
if ($CONF['configured'] == false) {
die("Please edit config.local.php - change \$CONF['configured'] to true after specifying appropriate local settings (database_type etc)");
}