changeset 11 | 16e5372a872e |
parent 7 | 3ed6f90e97d9 |
child 22 | 16ebd5c503fe |
--- a/classes/bfw/mvc/controller/HomeController.php +++ b/classes/bfw/mvc/controller/HomeController.php @@ -15,9 +15,7 @@ * */ public function __construct() { - $modelName = $this->getModelName(); - $model = new $modelName(); - + $model = $this->getDataModelInstance(); parent::__construct($model); }