protected static function _setDbConnectionConfig(array $config)
	{
		$app = \Slim\Slim::getInstance();
		$cfg = Config::instance();
		$cfg->set_connections($config);
		$cfg->set_default_connection($app->config('mode'));
	}