summaryrefslogtreecommitdiff
path: root/src/lib/Model.class.php
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-10-27 19:44:10 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-10-27 19:44:10 -0400
commit29a3ffb99435827d5a7ea6886ac22bd2ee18d593 (patch)
tree511928e110e52d210c9707ab22e952b01b3368b1 /src/lib/Model.class.php
parent40bef9550687ed2b5a0c55feafc0b0dd015177e2 (diff)
I think this fixes everything, but it now depends on PHP 5.3+
The introduction of the dependency on PHP 5.3 is that lib/Singleton.class uses `get_called_class()'
Diffstat (limited to 'src/lib/Model.class.php')
-rw-r--r--src/lib/Model.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Model.class.php b/src/lib/Model.class.php
index 14f59d4..0cce525 100644
--- a/src/lib/Model.class.php
+++ b/src/lib/Model.class.php
@@ -4,6 +4,6 @@ require_once('Database.class.php');
abstract class Model {
protected $db;
public function __construct() {
- $db = Database::getInstance();
+ $this->db = Database::getInstance();
}
}