Added Network
This commit is contained in:
17
application/Pop/PopController.php
Normal file
17
application/Pop/PopController.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
class PopController extends mfBaseController {
|
||||
|
||||
protected function init() {
|
||||
$this->needlogin=true;
|
||||
$me = new User();
|
||||
$me->loadMe();
|
||||
$this->me = $me;
|
||||
$this->layout()->set("me",$me);
|
||||
/*
|
||||
if(!$me->isAdmin()) {
|
||||
$this->redirect("Dashboard");
|
||||
}*/
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user