1234567891011121314151617181920212223242526 |
- <?php
- class accountsController extends Staple_Controller
- {
- private $authLevel;
- public function _start()
- {
- $auth = Staple_Auth::get();
- $this->authLevel = $auth->getAuthLevel();
- if($this->authLevel < 900)
- {
- header("location:".$this->_link(array('index','index'))."");
- }
- }
- public function index()
- {
- echo "Accounts";
- }
- }
- ?>
|