private function initializeAutosettings()
 {
     // Try to set the web path to correct urls within the frontend
     if (AgaviConfig::get('core.default_context') == 'web') {
         // Try to set the web path to correct urls within the frontend
         if (AgaviConfig::get('org.icinga.appkit.web_path', null) == null) {
             AgaviConfig::set('org.icinga.appkit.web_path', AppKitStringUtil::extractWebPath(), true, true);
         }
     }
     include AgaviConfigCache::checkConfig(AgaviToolkit::expandDirectives('%core.config_dir%/schedules.xml'));
     // Global temp directory
     AgaviConfig::set('core.tmp_dir', AgaviConfig::get('core.data_dir') . '/tmp');
 }