Skip to content

Commit

Permalink
One final fix to dir structure
Browse files Browse the repository at this point in the history
  • Loading branch information
tm1000 committed Jul 28, 2011
1 parent 8949d70 commit aa9df3b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
require("/etc/asterisk/freepbx.conf");
} else {
//This is > FreePBX 2.8
require_once("../../functions.inc.php");
$functions_location = str_replace("modules/sak", "", dirname(__FILE__))."functions.inc.php";
require_once($functions_location);
require_once 'DB.php';
define("AMP_CONF", "/etc/amportal.conf");
$amp_conf = parse_amportal_conf(AMP_CONF);
Expand Down

0 comments on commit aa9df3b

Please sign in to comment.