diff --git a/index.php b/index.php index 7690b38..097e907 100644 --- a/index.php +++ b/index.php @@ -6,6 +6,7 @@ include APP_CONFIG_PATH.'app.php'; // load up application specific settings (cus // minimum needed classes include APP_CLASS_PATH.'helpable.php'; include APP_HELPER_PATH.'string.php'; +include APP_CLASS_PATH.'model.php'; include APP_CLASS_PATH.'front.php'; // start session diff --git a/lib/class/model.php b/lib/class/model.php index 9a83923..29731f6 100644 --- a/lib/class/model.php +++ b/lib/class/model.php @@ -8,6 +8,8 @@ * @copyright GNU Lesser General Public License (LGPL) version 3 */ +include_once APP_CLASS_PATH.'pluginable.php'; + /** * Model * @@ -1302,4 +1304,4 @@ class VarObj extends VarAbstract throw new AppException('can not render object'); } -} \ No newline at end of file +}