From: Davide Franco Date: Tue, 21 Dec 2010 17:01:03 +0000 (+0100) Subject: bacula-web: Moved constants declaration X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3b7d8e1fc0c80fe995d089bb801e56a0d1ec87e9;p=bacula%2Fbacula bacula-web: Moved constants declaration - Moved constant declaration from bweb.inc.php to config.inc.php - Removed useless comment from bweb.inc.php --- diff --git a/gui/bacula-web/bweb.inc.php b/gui/bacula-web/bweb.inc.php index e12d39b9d6..3b5fc635c5 100644 --- a/gui/bacula-web/bweb.inc.php +++ b/gui/bacula-web/bweb.inc.php @@ -14,13 +14,6 @@ | GNU General Public License for more details. | +-------------------------------------------------------------------------+ */ -// Last Err: 11 -define('CONFIG_DIR', "configs"); -define('CONFIG_FILE', "bacula.conf"); -define('BACULA_TYPE_BYTES_FILES', 1); -define('BACULA_TYPE_FILES_JOBID', 2); -define('BACULA_TYPE_BYTES_ENDTIME_ALLJOBS', 69); - require_once "paths.php"; require_once "DB.php"; // Pear DB require_once "config.inc.php"; diff --git a/gui/bacula-web/config.inc.php b/gui/bacula-web/config.inc.php index edc827e5bb..abd6a01d0d 100644 --- a/gui/bacula-web/config.inc.php +++ b/gui/bacula-web/config.inc.php @@ -1,4 +1,11 @@