protected function _initConfig() {
        $this->bootstrap('db');
        $this->bootstrap('locale');
        if (!class_exists('Model_Info')) {
            return;
        }
        try {
            $staticConfig = Zend_Registry::get('config');
            $infoModel = $this->_getInfoModel();
            $dynamicConfig = $infoModel->fetchAsConfig(null, APPLICATION_ENV);

            // Very sneakily bypass 'readOnly'
            if ($staticConfig->readOnly()) {
                $staticConfig = new Zend_Config($staticConfig->toArray(), APPLICATION_ENV, true);
            }
            $staticConfig->merge($dynamicConfig);
            $staticConfig->setReadOnly();

            Zend_Registry::set('config', $staticConfig);
        } catch(Exception $e) {
            $msg = $e->getMessage();
            if (strpos($msg, 'Unknown database') === false
                && strpos($msg, "doesn't exist") === false
            ) {
                throw $e;
            }
        }
    }