Commit 39760776 authored by zYne's avatar zYne

--no commit message

--no commit message
parent ae8f6838
...@@ -320,7 +320,7 @@ class Doctrine_Manager extends Doctrine_Configurable implements Countable, Itera ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment