Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- App::uses('Controller', 'Controller');
- class AppController extends Controller {
- var $components = array('Auth');
- public function beforeFilter(){
- $this->set("isadmin", $this->Auth->user("typeuser_id"));
- }
- }
- ?>
Add Comment
Please, Sign In to add comment