Two applications in the same application folder cakephp 3

1

I have an application that has two admin users: one admin for users of one system of registrations and another admin for system administrators.

I'd like to have the following structure in cakephp3:

  

- > main folder (it's the root of the site: www.mysite.com)

     

- > admin1 folder (user-accessed registration system)

     

- > admin2 folder (general admin system accessed by admins)

I would like to be directed to the admin1 subfolder (login screen) when you enter the site ( www.meusite.com ). On the login screen, I will also make a link available to admins, that is, access to the "admin2" folder.

Of course, users of one application can not log in to the other without being properly registered.

How can I make this work in cakephp 3?

    
asked by anonymous 27.07.2016 / 01:38

0 answers