#6508: Suggestion:  Remove 'connect' from $_baseConfig in DboPostgres
-----------------------------+----------------------------------------------
    Reporter:  cuppett       |         Owner:           
        Type:  Optimization  |        Status:  new      
    Priority:  Very Low      |     Milestone:  1.2.x.x  
   Component:  PostgreSQL    |       Version:  1.2 Final
    Severity:  Trivial       |    Resolution:           
    Keywords:                |   Php_version:  PHP 5    
Cake_version:  1.2.3         |  
-----------------------------+----------------------------------------------
Comment (by cuppett):

 Have tentative fix in:[[BR]]
 [[BR]]
 
[http://thechaw.com/forks/cuppett/cakephp/commits/view/dd954b647548a4ab648d6ed4776c98bc7d276d94
 dd954b647548a4ab648d6ed4776c98bc7d276d94]
 [[BR]]
 [[BR]]
 {{{
 diff --git a/cake/libs/model/datasources/dbo/dbo_postgres.php
 b/cake/libs/model/datasources/dbo/dbo_postgres.php
 index bd6e984..23a7566 100644
 --- a/cake/libs/model/datasources/dbo/dbo_postgres.php
 +++ b/cake/libs/model/datasources/dbo/dbo_postgres.php
 @@ -59,7 +59,6 @@ class DboPostgres extends DboSource {
   * @access protected
   */
         var $_baseConfig = array(
 -               'connect'       => 'pg_pconnect',
                 'persistent' => true,
                 'host' => 'localhost',
                 'login' => 'root',
 @@ -861,4 +860,4 @@ class DboPostgres extends DboSource {
                 }
         }
  }
 -?>
 \ No newline at end of file
 +?>
 }}}

-- 
Ticket URL: <https://trac.cakephp.org/ticket/6508#comment:1>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to