Jump to content

CakePHP admin routing?


johnmerlino

Recommended Posts

Hey all,

 

I'm using cakephp and it asks me a question and I'm not sure what to put in, because I don't necessarily know the consequences of what I put in:

Would you like to create the methods for admin routing? (y/n) 
[y] > y
You need to enable Configure::write('Routing.admin','admin') in /app/config/core.php to use admin routing.
What would you like the admin route to be?
Example: www.example.com/admin/controller
What would you like the admin route to be?  
[admin] > 

 

Thanks for response

Link to comment
https://forums.phpfreaks.com/topic/216659-cakephp-admin-routing/
Share on other sites

Also, I'm not sure why I have duplicate directories. I viewed a tutorial that says copy cakephp to Sites in macbook. Then rename it. So I rename folder to diet. Now I have two directories underneath, including app and cake. The thing is the app directory contains a controller, model, and views. And inside the cake directory, there is a lib directory that contains controller, model, and views as well. I don't understand why the duplicates?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.