-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathroot.php
37 lines (35 loc) · 1.38 KB
/
root.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
/*
--------------------------------------------------------------------------------------------
| Scarlets Framework Root Folder
--------------------------------------------------------------------------------------------
|
| Here you can run any script before you load Scarlets Framework
| for your project. This 'root.php' must be placed on project
| root directory.
|
*/
// include_once __DIR__."/vendor/scarletsfiction/scarlets/require.php";
include_once __DIR__."/vendor/autoload.php";
/*
--------------------------------------------------------------------------------------------
| Directory Structure
--------------------------------------------------------------------------------------------
|
| - /root.php : This file
| - /scarlets : Console
| - /config/ : Configuration files that will automatically loaded on initialization
| - /public/ : Website root directory, set it on apache virtualhost or nginx server block
| - /resource/ : Required framework resources
| - /lang/ : Languages
| - /plate/ : Template files
| - /static/ : Static HTML
| - /view/ : Dynamic PHP
| - /routes/ : Route Handler
| - console.php : Console Router
| - web.php : Web URL Router
| - /storage/ : Application and framework storage like cache or log
| - /app/ : App storage
| - /framework/ : Framework storage
| - /log/ : Logging files
*/