@@ 183-185 (lines=3) @@ | ||
180 | $entity = $module_models_path . 'Entities/' . ucfirst($modulename) . '.php'; |
|
181 | } |
|
182 | ||
183 | if (is_file($entity) && class_exists('Entity\\' . ucfirst($modulename), false)) { |
|
184 | include $entity; |
|
185 | } |
|
186 | ||
187 | $repos = $module_models_path . 'Repositories/' . ucfirst($modulename) . 'Repository.php'; |
|
188 | ||
@@ 189-191 (lines=3) @@ | ||
186 | ||
187 | $repos = $module_models_path . 'Repositories/' . ucfirst($modulename) . 'Repository.php'; |
|
188 | ||
189 | if (is_file($repos) && class_exists('Entity\\' . ucfirst($modulename), false)) { |
|
190 | include $repos; |
|
191 | } |
|
192 | } |
|
193 | // else Module has no Model Data |
|
194 | } |