summaryrefslogtreecommitdiff
path: root/src/lib/Model.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Model.class.php')
-rw-r--r--src/lib/Model.class.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/Model.class.php b/src/lib/Model.class.php
new file mode 100644
index 0000000..0cce525
--- /dev/null
+++ b/src/lib/Model.class.php
@@ -0,0 +1,9 @@
+<?php
+require_once('Database.class.php');
+
+abstract class Model {
+ protected $db;
+ public function __construct() {
+ $this->db = Database::getInstance();
+ }
+}