]> git.sur5r.net Git - bacula/bacula/commitdiff
cula-web: Renamed configs folder to config
authorDavide Franco <bacula-dev@dflc.ch>
Tue, 22 Mar 2011 16:48:05 +0000 (17:48 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Tue, 2 Aug 2011 09:56:15 +0000 (11:56 +0200)
 - Changed path in config.inc.php

gui/bacula-web/config.inc.php
gui/bacula-web/config/.htaccess [new file with mode: 0644]
gui/bacula-web/config/bacula.conf [new file with mode: 0644]
gui/bacula-web/configs/.htaccess [deleted file]
gui/bacula-web/configs/bacula.conf [deleted file]

index 409e24b8ea380d43f1de7d97a3b9a1c262fb17f4..3bf2354924b547b73d91be1ed0285dcc5002614b 100644 (file)
@@ -19,7 +19,7 @@
  require_once BW_OBJ . "bweb.inc.php";
  
  // Global constants
- define('CONFIG_DIR', BW_ROOT . "/configs/");
+ define('CONFIG_DIR', BW_ROOT . "/config/");
  define('CONFIG_FILE', CONFIG_DIR . "bacula.conf");
  
  // Time intervals in secondes
diff --git a/gui/bacula-web/config/.htaccess b/gui/bacula-web/config/.htaccess
new file mode 100644 (file)
index 0000000..8d2f256
--- /dev/null
@@ -0,0 +1 @@
+deny from all
diff --git a/gui/bacula-web/config/bacula.conf b/gui/bacula-web/config/bacula.conf
new file mode 100644 (file)
index 0000000..2111e25
--- /dev/null
@@ -0,0 +1,28 @@
+; Language
+; en_EN -> English
+; es_ES -> Spanish, Mantained by Juan Luis Francés Jiménez.
+; it_IT -> Italian, Mantained by Gian Domenico Messina (gianni.messina AT c-ict.it).
+; fr_FR -> Frech, Mantained by Morgan LEFIEUX (comete AT daknet.org).
+; de_DE -> German, Mantained by Florian Heigl.
+lang = en_EN
+
+; Database connection configuration
+
+[.DATABASE]
+host = localhost                                       ; Database host or IP
+login = root                                           ; Database account name
+pass = p@ssw0rd                                                ; Database account password
+db_name = bacula                                       ; Database name
+db_type = mysql                                                ; Database type
+;db_port = 3306                                                ; Uncomment if not standard port
+
+; Multi-Catalog support
+; If you want to configure more than 1 Bacula catalog in Bacula-Web, simply copy the previous line (See example below)
+; Don't forget the change the name of the section (DATABASE2 in this case)
+
+;[.DATABASE2]
+;host = 192.168.2.55
+;login = bacula
+;pass =
+;db_name = bacula
+;db_type = mysql
diff --git a/gui/bacula-web/configs/.htaccess b/gui/bacula-web/configs/.htaccess
deleted file mode 100644 (file)
index 8d2f256..0000000
+++ /dev/null
@@ -1 +0,0 @@
-deny from all
diff --git a/gui/bacula-web/configs/bacula.conf b/gui/bacula-web/configs/bacula.conf
deleted file mode 100644 (file)
index 2111e25..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-; Language
-; en_EN -> English
-; es_ES -> Spanish, Mantained by Juan Luis Francés Jiménez.
-; it_IT -> Italian, Mantained by Gian Domenico Messina (gianni.messina AT c-ict.it).
-; fr_FR -> Frech, Mantained by Morgan LEFIEUX (comete AT daknet.org).
-; de_DE -> German, Mantained by Florian Heigl.
-lang = en_EN
-
-; Database connection configuration
-
-[.DATABASE]
-host = localhost                                       ; Database host or IP
-login = root                                           ; Database account name
-pass = p@ssw0rd                                                ; Database account password
-db_name = bacula                                       ; Database name
-db_type = mysql                                                ; Database type
-;db_port = 3306                                                ; Uncomment if not standard port
-
-; Multi-Catalog support
-; If you want to configure more than 1 Bacula catalog in Bacula-Web, simply copy the previous line (See example below)
-; Don't forget the change the name of the section (DATABASE2 in this case)
-
-;[.DATABASE2]
-;host = 192.168.2.55
-;login = bacula
-;pass =
-;db_name = bacula
-;db_type = mysql