p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Building PHP Applications with Symfony, CakePHP, and Zend Framework (http://p2p.wrox.com/forumdisplay.php?f=625)
-   -   Ch 2 - CakePHP controllers directory named Controller (http://p2p.wrox.com/showthread.php?t=86363)

rawl747 January 16th, 2012 02:18 PM

Ch 2 - CakePHP controllers directory named Controller
 
Downloaded the latest stable CakePHP v2.05 to a Ubuntu Linux platform and extracted it and there is no controllers directory under the app directory to place the hello_controller.php file in. There is a directory called Controller under app with a capital 'C' but no ending 's' .

Either this file goes in the Controller directory or the controllers directory needs to be created. Guess I'll find out...

rawl747 January 17th, 2012 03:27 PM

Ch 2 - CakePHP controllers directory named Controller - update
 
Yep.

As I surmised, several directories (Controller) in the newest version of CakePHP leave off the plural 's' and are now capitalised which the latter on Linux systems can cause folks some confusion. Windows of course doesn't care as it is not case sensitive.

So, beware code examples referencing sub-directories of the apps directory as some have changed in v2.x.


All times are GMT -4. The time now is 06:25 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.