require_once "DB.php";
// Internal libs
- require_once BW_OBJ . "graph/bgraph.inc.php";
- require_once "bweb.inc.php";
+ require_once BW_OBJ . "cfg/config.class.php";
+ require_once BW_OBJ . "graph/bgraph.class.php";
+ require_once BW_OBJ . "bweb.inc.php";
// Global constants
- define('CONFIG_DIR', BW_ROOT . "/configs/");
- define('CONFIG_FILE', CONFIG_DIR . "bacula.conf");
+ define('CONFIG_DIR', BW_ROOT . "/config/");
+ define('CONFIG_FILE', CONFIG_DIR . "config.php");
+ require_once( CONFIG_FILE );
// Time intervals in secondes
define( 'LAST_DAY', 86400 );