Development

Changeset 6371

You must first sign up to be able to contribute.

Changeset 6371

Show
Ignore:
Timestamp:
12/07/07 17:26:39 (1 year ago)
Author:
fabien
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0/lib/addon/propel/database/sfPropelDatabase.class.php

    r3493 r6371  
    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      );