Skip to content

Commit

Permalink
FREEPBX-11371 Remove many references to /etc/asterisk/freepbx.conf an…
Browse files Browse the repository at this point in the history
…d FREEPBX_CONF env var.
  • Loading branch information
khong committed Nov 7, 2016
1 parent 08a1e76 commit cd81ecc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions utests/setuptests.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit cd81ecc

Please sign in to comment.