Correction models path
This commit is contained in:
parent
6b51b03f6c
commit
857d8422ac
@ -34,7 +34,7 @@ function setDbConn($name){
|
||||
//$currentConn = $manager->getCurrentConnection();
|
||||
//$manager->closeConnection($currentConn);
|
||||
$manager->setCurrentConnection($name);
|
||||
Doctrine::loadModels(realpath(dirname(__FILE__)).'/dbmodels/'.$name);
|
||||
Doctrine::loadModels(MODELS_PATH . DIRECTORY_SEPARATOR . $name);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user