johnmerlino Posted October 23, 2010 Share Posted October 23, 2010 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 Quote Link to comment Share on other sites More sharing options...
johnmerlino Posted October 23, 2010 Author Share Posted October 23, 2010 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? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.