0

I am using the auth component. I have setup my route to accommodate admin prefix.

The entire site insists on logging in. I only want admin_* pages to validate login which it does. But the other non prefixed pages such as index, hospitalist, etc needs to be accessed as normal public viewers or visitors.

How does one set up the appController for this? It's been frisking me out for a week now.

Any help will be greatly appreciated.

4

1 に答える 1

0

これについては、書籍の「シンプルな認証と承認のアプリケーション」で詳しく説明されています。

今後は、CakePHP の本を見て、試したことを投稿してください。関係者全員でしょう。:)

于 2013-09-04T18:09:36.787 に答える