did you put the class in

/app/controllers/components/rd_simple_auth.php?



On Jun 23, 2006, at 11:04 AM, Luke wrote:

>
> <?php
> uses('sanitize');//include the sanitize lib
> class AppController extends Controller {
>
>     var $components = array('rdSimpleAuth');
>
>     var $rdAccess = '*'; // this will protect every page except the
> loginPage.
>
>     //or
>     //an array of actions.
>     var $rdAccess = array('admin_index' => array('Admin','Manager'),
>                           'admin_add'   => array('Admin','Manager')
>                          );
>
>     var $Sanitize;
>     function __construct()
>     {
>       parent::__construct();
>       $this->Sanitize = &new Sanitize;
>     }
>
> }
> ?>
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to