1
0
mirror of synced 2024-12-14 23:26:04 +03:00
This commit is contained in:
zYne 2007-06-26 11:35:58 +00:00
parent ae8f683856
commit 397607762b

View File

@ -320,7 +320,7 @@ class Doctrine_Manager extends Doctrine_Configurable implements Countable, Itera
case 'mock': case 'mock':
case 'oracle': case 'oracle':
if ( ! isset($parts['path']) || $parts['path'] == '/') { if ( ! isset($parts['path']) || $parts['path'] == '/') {
throw new Doctrine_Manager_Exception('No database availible in data source name'); throw new Doctrine_Manager_Exception('No database available in data source name');
} }
if (isset($parts['path'])) { if (isset($parts['path'])) {
$parts['database'] = substr($parts['path'], 1); $parts['database'] = substr($parts['path'], 1);