Перенес часть в CMS2

This commit is contained in:
origami11 2017-02-17 18:15:59 +03:00
parent 3defa8f38b
commit a75f450edd
5 changed files with 12 additions and 576 deletions

View file

@ -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 ();