Development

Changeset 6370

You must first sign up to be able to contribute.

Changeset 6370

Show
Ignore:
Timestamp:
12/07/07 17:26:30 (2 years ago)
Author:
fabien
Message:

fixed connecting to a database using unix socket (closes #2539)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/plugins/sfPropelPlugin/lib/propel/database/sfPropelDatabase.class.php

    r3525 r6370  
    6969      $params = Creole::parseDSN($dsn); 
    7070 
    71       $options = array('phptype', 'hostspec', 'database', 'username', 'password', 'port', 'protocol', 'encoding', 'persistent'); 
     71      $options = array('phptype', 'hostspec', 'database', 'username', 'password', 'port', 'protocol', 'encoding', 'persistent', 'socket'); 
    7272      foreach ($options as $option) 
    7373      { 
     
    9393          'persistent' => $this->getParameter('persistent'), 
    9494          'protocol'   => $this->getParameter('protocol'), 
     95          'socket'     => $this->getParameter('socket'), 
    9596        ), 
    9697      ); 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting, and supporting several large Open-Source projects.