From 3b7d8e1fc0c80fe995d089bb801e56a0d1ec87e9 Mon Sep 17 00:00:00 2001 From: Davide Franco Date: Tue, 21 Dec 2010 18:01:03 +0100 Subject: [PATCH] bacula-web: Moved constants declaration - Moved constant declaration from bweb.inc.php to config.inc.php - Removed useless comment from bweb.inc.php --- gui/bacula-web/bweb.inc.php | 7 ------- gui/bacula-web/config.inc.php | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) 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 @@