From f67e3189abd82de6a937ce5dd3bea8f4e88b6e7f Mon Sep 17 00:00:00 2001 From: gwoo Date: Sat, 14 Oct 2006 19:05:23 +0000 Subject: [PATCH] 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 --- cake/scripts/bake.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cake/scripts/bake.php b/cake/scripts/bake.php index a9fef33b9..de4bcef05 100644 --- a/cake/scripts/bake.php +++ b/cake/scripts/bake.php @@ -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.');