From ad4a7ff9159c2c64cea98d7189f46fa7d6174fc2 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 4 Sep 2011 21:13:47 -0400 Subject: Screw it, I'm tired of trying to break this into individual commits --- src/controllers/Plugins.class.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/controllers/Plugins.class.php (limited to 'src/controllers/Plugins.class.php') diff --git a/src/controllers/Plugins.class.php b/src/controllers/Plugins.class.php new file mode 100644 index 0000000..597cd19 --- /dev/null +++ b/src/controllers/Plugins.class.php @@ -0,0 +1,19 @@ +isLoggedIn(); + if ($uid===false || !$m->getAuthObj($uid)->isAdim()) { + $this->http401($routed, $remainder); + return; + } + // TODO + } + + public function http401($routed, $remainder) { + $this->showView('plugins/401'); + } +} -- cgit v1.2.3-54-g00ecf