I found the file it's in *\cake\libs\controller On Dec 24, 3:04 pm, John Maxim <[email protected]> wrote: > I'm reading this section now: > > http://book.cakephp.org/view/957/The-App-Controller > > I find that the usefulness of AppController is by creating the > components, uses, and helpers in a new folder different path other > than in the controller file. But that page says creating the > AppController: is defined in /app/app_controller.php > > Is it a new file I need to create? > > Or is it something else because a comment from that page says the file > (app_controller.php) is here: > > app\cake\libs\controller > > The path above doesn't even exist. > > The only eg. is: > > <?php > class AppController extends Controller { > } > ?> > > So do I include the Auth component in there (AppController) rather > than in the controller file ? > > Now even the beforefilter function is entered in AppController which > both I haven't seen in any examples. > > Are there more examples to this ? Is this normally useful ? > > Thanks. > > John M.
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" 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?hl=en
