Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-updates-src > by-pkgid > d7ee511874c36c6f8822afb16939afcd > files > 26

bacula-5.0.3-2.1.mga1.src.rpm

diff -Naur bacula-2.2.1/gui/bacula-web/classes.inc bacula-2.2.1.oden/gui/bacula-web/classes.inc
--- bacula-2.2.1/gui/bacula-web/classes.inc	2006-01-26 18:12:24.000000000 +0100
+++ bacula-2.2.1.oden/gui/bacula-web/classes.inc	2007-09-03 15:36:44.000000000 +0200
@@ -15,7 +15,7 @@
 +-------------------------------------------------------------------------+ 
 */
 // Last Err: 11
-define('CONFIG_DIR', "configs");
+define('CONFIG_DIR', "/etc/bacula/bacula-web");
 define('CONFIG_FILE', "bacula.conf");
 define('BACULA_TYPE_BYTES_FILES', 1);
 define('BACULA_TYPE_FILES_JOBID', 2);
diff -Naur bacula-2.2.1/gui/bacula-web/configs/bacula.conf bacula-2.2.1.oden/gui/bacula-web/configs/bacula.conf
--- bacula-2.2.1/gui/bacula-web/configs/bacula.conf	2006-01-26 18:12:24.000000000 +0100
+++ bacula-2.2.1.oden/gui/bacula-web/configs/bacula.conf	2007-09-03 15:36:44.000000000 +0200
@@ -6,7 +6,7 @@
 
 # If http://www.domain.com/bacula/
 # root = /bacula
-root = /bacula-web
+root = /bacula/bacula-web
 
 # Show a box with a detailed report at index or Status report
 # I'll remove this in future versions.
diff -Naur bacula-2.2.1/gui/bacula-web/index.php bacula-2.2.1.oden/gui/bacula-web/index.php
--- bacula-2.2.1/gui/bacula-web/index.php	2006-01-26 18:12:24.000000000 +0100
+++ bacula-2.2.1.oden/gui/bacula-web/index.php	2007-09-03 15:36:44.000000000 +0200
@@ -27,7 +27,7 @@
 //$smarty->debugging = true;
 $smarty->template_dir = "./templates";
 $smarty->compile_dir = "./templates_c";
-$smarty->config_dir     = "./configs";
+$smarty->config_dir     = "/etc/bacula/bacula-web";
 $smarty->config_load("bacula.conf");                                                                                    // Load config file
 $mode = $smarty->get_config_vars("mode");                                                                               // Lite o Extend?
 
diff -Naur bacula-2.2.1/gui/bacula-web/README bacula-2.2.1.oden/gui/bacula-web/README
--- bacula-2.2.1/gui/bacula-web/README	2007-05-16 12:30:43.000000000 +0200
+++ bacula-2.2.1.oden/gui/bacula-web/README	2007-09-03 15:36:44.000000000 +0200
@@ -24,7 +24,7 @@
 INSTALL
 *******
 - Copy this distribution to root directory or a subdirectory of your webroot.
-- Edit configs/bacula.conf with your preferences
+- Edit /etc/bacula/bacula-web/bacula.conf with your preferences
 - Run "test.php" from your browser.
 - You need to turn on the short_open_tag option in php.ini
 
diff -Naur bacula-2.2.1/gui/bacula-web/report.php bacula-2.2.1.oden/gui/bacula-web/report.php
--- bacula-2.2.1/gui/bacula-web/report.php	2005-10-06 16:45:48.000000000 +0200
+++ bacula-2.2.1.oden/gui/bacula-web/report.php	2007-09-03 15:36:44.000000000 +0200
@@ -25,8 +25,8 @@
 //$smarty->debugging = true;
 
 $smarty->template_dir   = "./templates";
-$smarty->compile_dir    = "./templates_c";
-$smarty->config_dir     = "./configs";
+$smarty->compile_dir    = "/var/cache/httpd/bacula-web";
+$smarty->config_dir     = "/etc/bacula/bacula-web";
 $smarty->config_load("bacula.conf");
 require("lang.php");