connect and config.php.template