[icinga-checkins] icinga.org: icinga-web/jmosshammer/default: * Removed initializeModule from index and added AgaviAppKitContext to compile .xml

git at icinga.org git at icinga.org
Fri Aug 5 12:55:51 CEST 2011


Module: icinga-web
Branch: jmosshammer/default
Commit: 062a430bd0bd9a52f6df8f83f32e95268d4b7e35
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=062a430bd0bd9a52f6df8f83f32e95268d4b7e35

Author: Jannis Mosshammer <jannis.mosshammer at netways.de>
Date:   Fri Aug  5 12:55:20 2011 +0200

* Removed initializeModule from index and added AgaviAppKitContext to compile.xml

---

 app/config/compile.xml |    1 +
 pub/index.php          |    5 +++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/app/config/compile.xml b/app/config/compile.xml
index 455618c..8e4ca08 100755
--- a/app/config/compile.xml
+++ b/app/config/compile.xml
@@ -3,6 +3,7 @@
 	<ae:configuration>
 	    <compiles>
             <compile>%core.module_dir%/Api/lib/legacylib/IcingaApiConstants.php</compile>
+            <compile>%core.module_dir%/AppKit/lib/context/AppKitAgaviContext.class.php</compile>
         </compiles>
     </ae:configuration>	
 </ae:configurations>
diff --git a/pub/index.php b/pub/index.php
index a94bc33..b60fd0d 100755
--- a/pub/index.php
+++ b/pub/index.php
@@ -1,5 +1,6 @@
 <?php
-
+putenv("ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/");
+putenv("ORACLE_SID=XE");
 /**
  * Allow XHR access from other domains (response for cors preflight requests)
  */
@@ -30,7 +31,7 @@ Agavi::bootstrap('development');
 AgaviConfig::set('core.default_context', 'web');
 
 // Main module
-AppKitAgaviUtil::initializeModule('AppKit');
+
 
 // Some kind of agavi like bootstrap
 // hook in





More information about the icinga-checkins mailing list