2 // PhPlot (version 5.3.1)
3 // http://www.phplot.com
4 $phplot_path = "external_packages/phplot/";
6 // Smarty (version 2.6.26)
7 // http://smarty.php.net
8 $smarty_path = "external_packages/smarty/libs/";
10 // Smarty_gettext (version 0.9)
11 // http://www.boom.org.il/smarty/gettext/
12 $smarty_gettext_path = "external_packages/smarty_gettext-0.9/";
14 require_once( $smarty_path . "Smarty.class.php");
15 require_once( $phplot_path . "phplot.php");
17 require_once "DB.php";
18 require_once "bgraph.inc.php";
21 define('CONFIG_DIR', "configs");
22 define('CONFIG_FILE', "bacula.conf");
23 define('BACULA_TYPE_BYTES_FILES', 1);
24 define('BACULA_TYPE_FILES_JOBID', 2);
25 define('BACULA_TYPE_BYTES_ENDTIME_ALLJOBS', 69);
27 // Time intervals in secondes
28 define( 'LAST_DAY', 86400 );
29 define( 'LAST_WEEK', 604800 );
30 define( 'LAST_MONTH', 2678400 );