Changeset 331 for trunk/app/app_controller.php
- Timestamp:
- 03/23/08 13:42:50 (9 months ago)
- Files:
-
- 1 modified
-
trunk/app/app_controller.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/app_controller.php
r325 r331 20 20 $this->Auth->loginError = 'Invalid e-mail / password combination. Please try again'; 21 21 $this->Auth->authorize = 'controller'; 22 $this->Auth->allow( array('view', 'display', 'subscribe', 'recover', 'reply', 'register', 'insert', 'vote', 'entry', 'download', 'blog','portfolio', 'about', 'message', 'directory', 'bloggers', 'add', 'rss', 'discussion') ); 22 $this->Auth->allow( array('view', 'display', 'subscribe', 'recover', 'reply', 'register', 'insert', 'vote', 'entry', 'download', 'blog','portfolio', 'about', 23 'message', 'search', 'directory', 'bloggers', 'add', 'rss', 'discussion') ); 23 24 $this->Auth->autoRedirect = true; 24 25 $this->set('cU', $this->Auth->user()); // $cU current user array to use in the views if user logged
