Fix model_paths
This commit is contained in:
parent
58b80628dd
commit
d6d99be87f
3 changed files with 7 additions and 3 deletions
|
|
@ -146,8 +146,8 @@ abstract class AbstractDataHandler
|
|||
{
|
||||
$searchPath = array();
|
||||
|
||||
if (!empty($this->datasources[$connectionName]['connection']['model_paths'])) {
|
||||
$modelPaths = $this->datasources[$connectionName]['connection']['model_paths'];
|
||||
if (!empty($this->datasources['database']['connections'][$connectionName]['model_paths'])) {
|
||||
$modelPaths = $this->datasources['database']['connections'][$connectionName]['model_paths'];
|
||||
foreach ($modelPaths as $modelPath) {
|
||||
$searchPath[] = $this->getRootDir() . '/../' . $modelPath;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue