Перенес часть в CMS2
This commit is contained in:
parent
3defa8f38b
commit
a75f450edd
5 changed files with 12 additions and 576 deletions
|
|
@ -36,8 +36,6 @@ class Controller_Service
|
|||
*/
|
||||
public function getModel($name)
|
||||
{
|
||||
require_once 'mapper/mapper.php';
|
||||
|
||||
require_once ($this->getModelPath ($name));
|
||||
$modelName = $name . "Mapper";
|
||||
$model = new $modelName ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue