summaryrefslogtreecommitdiff
path: root/src/lib/MessageManager.class.php
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-09-04 20:42:32 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-09-04 20:42:32 -0400
commit716c3a5a3a36206e93431eb5f8df3471546ec4b2 (patch)
treefaccf06e355ce37f233f823a87b4a93d9f531cb2 /src/lib/MessageManager.class.php
parent103332a30f8976fcc224c8f55dc23aba7b99e578 (diff)
start to add a plugin management framework
Diffstat (limited to 'src/lib/MessageManager.class.php')
-rw-r--r--src/lib/MessageManager.class.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/MessageManager.class.php b/src/lib/MessageManager.class.php
index d9d9fbc..cfcdac7 100644
--- a/src/lib/MessageManager.class.php
+++ b/src/lib/MessageManager.class.php
@@ -6,6 +6,7 @@ class MessageManager {
private $db_prefix;
private $pw_hasher;
private $template;
+ private $pluginManager;
private $base;
private $users = array();
@@ -386,6 +387,14 @@ class MessageManager {
}
return $this->template;
}
+
+ public function pluginManager() {
+ if (!isset($this->pluginManager)) {
+ require_once('PluginManager.class.php');
+ $this->pluginManager = new PluginManager();
+ }
+ return $this->pluginManager;
+ }
public function login($username, $password) {
$uid = $this->getUID($username);