Development

#2539: sfPropelDatabase.class.php.patch

You must first sign up to be able to contribute.

Ticket #2539: sfPropelDatabase.class.php.patch

File sfPropelDatabase.class.php.patch, 1.0 kB (added by Krasimir.Angelov, 1 year ago)
  • lib/addon/propel/database/sfPropelDatabase.class.php

    old new  
    6868      require_once('creole/Creole.php'); 
    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      { 
    7474        if (!$this->getParameter($option) && isset($params[$option])) 
     
    9292          'encoding'   => $this->getParameter('encoding'), 
    9393          'persistent' => $this->getParameter('persistent'), 
    9494          'protocol'   => $this->getParameter('protocol'), 
     95          'socket'   => $this->getParameter('socket'), 
    9596        ), 
    9697      ); 
    9798  }