Beispiel #1
0
 private function setupXApp($conf)
 {
     if (!defined(XAPP_PATH_BASE)) {
         define(XAPP_PATH_BASE, XAPP_BASEDIR);
     }
     if ($conf == null) {
         $conf = array(XAPP_CONF_DEBUG_MODE => null, XAPP_CONF_AUTOLOAD => false, XAPP_CONF_DEV_MODE => XApp_Service_Entry_Utils::isDebug(), XAPP_CONF_HANDLE_BUFFER => true, XAPP_CONF_HANDLE_SHUTDOWN => false, XAPP_CONF_HTTP_GZIP => true, XAPP_CONF_CONSOLE => false, XAPP_CONF_HANDLE_ERROR => true, XAPP_CONF_HANDLE_EXCEPTION => true);
     }
     Xapp::run($conf);
     xapp_import('xapp.Rpc.*');
     xapp_import('xapp.Log.*');
 }