Wait wait wait...

Have you really extracted all of you webroot files into the parent
folder of "app" - like your diagram shows.  So you have something like
c:\yourproject\app
c:\yourproject\app\controllers
c:\yourproject\app\models

as well as

c:\yourproject\index.php
c:\yourproject\js
c:\yourproject\img

That is a really bad idea - you now have all of your application
source files inside your webroot!  The main reason for separating this
is because the files in webroot are what is accessible by your
webserver - and anyone that can make a request to your site.  This
should only be images/css/js etc, not your actual PHP source files.

I cannot think of any good reason for modifying the folder structure
like that.  You might want to move the webroot folder somewhere else -
but you should certainly not put your application (and core, and
vendors) files INSIDE the webroot.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to