Changeset 2041
- Timestamp:
- 09/11/06 15:48:24 (2 years ago)
- Files:
-
- trunk/lib/database/sfPropelDatabase.class.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/database/sfPropelDatabase.class.php
r1415 r2041 66 66 67 67 $this->setParameter('phptype', $params['phptype']); 68 $this->setParameter('hostspec', $params['hostspec'] );68 $this->setParameter('hostspec', $params['hostspec'] ? $params['hostspec'] : ($params['host'] ? $params['host'] : null)); 69 69 $this->setParameter('database', $params['database']); 70 70 $this->setParameter('username', $params['username']); … … 79 79 array( 80 80 'phptype' => $this->getParameter('phptype'), 81 'hostspec' => $this->getParameter('hostspec') ? $this->getParameter('hostspec') : ($this->getParameter('host') ? $this->getParameter('host spec') : null),81 'hostspec' => $this->getParameter('hostspec') ? $this->getParameter('hostspec') : ($this->getParameter('host') ? $this->getParameter('host') : null), 82 82 'database' => $this->getParameter('database'), 83 83 'username' => $this->getParameter('username'),