/ Published in: PHP

URL: http://www.jbcrawford.net/archives/45
this is the entire app_controller code with auth setup and use in it.
Expand |
Embed | Plain Text
<?php class AppController extends Controller { function beforeFilter() { $this->Auth->allow('*'); $this->Auth->deny('delete','view','index'); } } ?>
You need to login to post a comment.