mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
Updated Directory Structure (markdown)
parent
962a62b0c6
commit
e1309898ba
@ -1,6 +1,6 @@
|
||||
## The Public Directory
|
||||
|
||||
The **public** directory should be the document root of your web server. It is the home of the **index.php** file, which contains the entire request flow of a Laravel application. If you have any images, scripts, or other files that should be publicly available, they should also be placed in this directory.
|
||||
The **public** directory should be the document root of your web server. It is the home of the **index.php** file, which contains the entire request flow of a Laravel application. If you have any images, scripts, or other files that should be publicly available, they should also be placed in this directory. In fact, **img**, **css**, and **js** directories have already been created for you.
|
||||
|
||||
Having the public directory as the document root of your web server ensures that the other scripts making up your application cannot be accessed directly. All requests are forced to enter the application through the **index.php** file.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user