From b1d528d2a6cddba24166e9c17bdf8750ec4378e3 Mon Sep 17 00:00:00 2001 From: Davide Franco Date: Tue, 22 Mar 2011 14:58:47 +0100 Subject: [PATCH] bacula-web: Moved bweb.inc.php into classes folder - Changed include path in config.inc.php and all other scripts --- gui/bacula-web/backupjob-report.php | 2 +- gui/bacula-web/{ => classes}/bweb.inc.php | 0 gui/bacula-web/classes/cfg/config.classe.php | 38 ++++++++++++++++++++ gui/bacula-web/config.inc.php | 3 +- gui/bacula-web/jobs.php | 2 +- gui/bacula-web/pools.php | 2 +- gui/bacula-web/report.php | 17 +-------- gui/bacula-web/test.php | 2 +- 8 files changed, 45 insertions(+), 21 deletions(-) rename gui/bacula-web/{ => classes}/bweb.inc.php (100%) diff --git a/gui/bacula-web/backupjob-report.php b/gui/bacula-web/backupjob-report.php index 5453662a5f..23115dbdd8 100644 --- a/gui/bacula-web/backupjob-report.php +++ b/gui/bacula-web/backupjob-report.php @@ -1,6 +1,6 @@ diff --git a/gui/bacula-web/config.inc.php b/gui/bacula-web/config.inc.php index 48b9e3034e..409e24b8ea 100644 --- a/gui/bacula-web/config.inc.php +++ b/gui/bacula-web/config.inc.php @@ -14,8 +14,9 @@ require_once "DB.php"; // Internal libs + require_once BW_OBJ . "cfg/config.classe.php"; require_once BW_OBJ . "graph/bgraph.inc.php"; - require_once "bweb.inc.php"; + require_once BW_OBJ . "bweb.inc.php"; // Global constants define('CONFIG_DIR', BW_ROOT . "/configs/"); diff --git a/gui/bacula-web/jobs.php b/gui/bacula-web/jobs.php index 71f01b51ce..27f551a8ea 100644 --- a/gui/bacula-web/jobs.php +++ b/gui/bacula-web/jobs.php @@ -1,6 +1,6 @@