If i am not wrong you can do this by putting one line to router.php
something like;
Router::connect('/', array('controller' => 'pages', 'action' =>
'admins', 'adminshome'));
Your base entry view becomes adminshome and related controller always
redirect to there.
Take care,
Gokhan aka Kunthar
On 11 Temmuz, 18:31, Nik Chankov <[EMAIL PROTECTED]> wrote:
> The main reason is because external users will be let's say 10000 and
> admin will be probably 3-5 max I dont want to be mixed. External users
> will have some relations /functionalities/ which will be not usefull
> for administrative users and so on.
>
> The autherntication method was writen from me and I dont use external
> component/plugin for it because it's simple Authenticated/
> NonAuthenticated access both external users and admin users. First
> ones will see only their content - admin will see some part but they
> are not the same as external users.
>
> I know I could make it working somehow using only one table and split
> them with "admin" checkbox, but in the design of the application was
> "invented" this way - to be 2 totally different user storages.
>
> Anyway, if somebody has an explanation how to make this let's give
> opinion :D
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---