[icinga-checkins] icinga.org: icinga-web/r1.5: * added databases namespace to example template documentation

git at icinga.org git at icinga.org
Wed Aug 24 15:48:59 CEST 2011


Module: icinga-web
Branch: r1.5
Commit: 3f0aae0cdb8b6ec24c6a22bd9ddad07d68d0d006
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=3f0aae0cdb8b6ec24c6a22bd9ddad07d68d0d006

Author: Jannis Moßhammer <jannis.mosshammer at netways.de>
Date:   Wed Aug 24 15:42:25 2011 +0200

* added databases namespace to example template documentation

---

 etc/sitecfg/databases.xml |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/etc/sitecfg/databases.xml b/etc/sitecfg/databases.xml
index 29298c4..98e0bd6 100644
--- a/etc/sitecfg/databases.xml
+++ b/etc/sitecfg/databases.xml
@@ -5,12 +5,12 @@
 -->
 
 	
-<databases xmlns:ae="http://agavi.org/agavi/config/global/envelope/1.0">
+<databases xmlns:db="http://agavi.org/agavi/config/parts/databases/1.0" xmlns:ae="http://agavi.org/agavi/config/global/envelope/1.0">
 
 
     <!-- Overwrite the icinga-web database (where users, roles, views, etc are stored 
     EXAMPLE (oracle need icingaOracle as the db driver 
-    <database name="icinga_web" class="AppKitDoctrineDatabase">
+    <db:database name="icinga_web" class="AppKitDoctrineDatabase">
         <ae:parameter name="dsn">mysql://icinga_web:icinga_web@localhost:3306/icinga_web</ae:parameter>
         <ae:parameter name="charset">utf8</ae:parameter>
         <ae:parameter name="manager_attributes">
@@ -30,12 +30,12 @@
             <ae:parameter name="result_cache_lifespan">60</ae:parameter>
         </ae:parameter>		
         
-    </database>
+    </db:database>
     -->
 
     <!-- 
         Overwrite the default database conneciton for icinga data retrieval
-    <database xmlns="http://agavi.org/agavi/config/parts/databases/1.0" name="icinga" class="AppKitDoctrineDatabase">
+    <db:database xmlns="http://agavi.org/agavi/config/parts/databases/1.0" name="icinga" class="AppKitDoctrineDatabase">
         <ae:parameter name="dsn">mysql://icinga_test:test@localhost:3306/icinga_test</ae:parameter>
         <ae:parameter name="prefix">icinga_</ae:parameter>
         <ae:parameter name="charset">utf8</ae:parameter>
@@ -50,7 +50,7 @@
             <ae:parameter name="use_query_cache">true</ae:parameter>
         </ae:parameter>
 
-    </database>
+    </db:database>
 
     -->
     





More information about the icinga-checkins mailing list