public static function minimalBootstrap() { if (!defined('VENDOR_PATH')) { define('VENDOR_PATH', 'vendor'); } if (VENDOR_PATH == '../vendor') { $kwfPath = '..'; } else { $kwfPath = VENDOR_PATH . '/koala-framework/koala-framework'; } if (!defined('KWF_PATH')) { define('KWF_PATH', $kwfPath); } //reset include path, don't use anything from php.ini set_include_path('.' . PATH_SEPARATOR . $kwfPath . PATH_SEPARATOR . self::_getZendPath()); require_once $kwfPath . '/Kwf/Loader.php'; Kwf_Loader::registerAutoload(); Zend_Registry::setClassName('Kwf_Registry'); $configSection = call_user_func(array(Kwf_Setup::$configClass, 'getDefaultConfigSection')); Kwf_Setup::$configSection = $configSection; error_reporting(E_ALL ^ E_STRICT); class_exists('Kwf_Trl'); //trigger autoload umask(00); //nicht 002 weil wwwrun und kwcms in unterschiedlichen gruppen }