diff --git a/utests/setuptests.php b/utests/setuptests.php index e60245e3..369a7e75 100644 --- a/utests/setuptests.php +++ b/utests/setuptests.php @@ -2,8 +2,6 @@ global $amp_conf, $db; $restrict_mods = true; -if (!@include_once(getenv('FREEPBX_CONF') ? getenv('FREEPBX_CONF') : '/etc/freepbx.conf')) { - include_once('/etc/asterisk/freepbx.conf'); -} +include '/etc/freepbx.conf'; restore_error_handler(); error_reporting(-1);