changing default connect setting in bake to connect rather than pconnect

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3671 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
gwoo 2006-10-14 19:05:23 +00:00
parent 337a7af264
commit f67e3189ab

View file

@ -269,22 +269,22 @@ class Bake {
switch($driver) {
case 'mysql':
$connect = 'mysql_pconnect';
$connect = 'mysql_connect';
break;
case 'mysqli':
$connect = 'mysqli_connect';
break;
case 'mssql':
$connect = 'mssql_pconnect';
$connect = 'mssql_connect';
break;
case 'sqlite':
$connect = 'sqlite_popen';
$connect = 'sqlite_open';
break;
case 'postgres':
$connect = 'pg_pconnect';
$connect = 'pg_connect';
break;
case 'odbc':
$connect = 'odbc_pconnect';
$connect = 'odbc_connect';
break;
default:
$this->stdout('The connection parameter could not be set.');