RundizBones
Table of Contents
Classes
- App
- The framework kernel class.
Constants
- APP_ENV = 'development'
- Define app environment.
- APP_ENV = 'production'
- MODULE_PATH = \ROOT_PATH . \DIRECTORY_SEPARATOR . 'Modules'
- Modules path.
- PUBLIC_PATH = __DIR__
- Public (root web) path.
- ROOT_PATH = \dirname(__DIR__)
- Framework root path.
- STORAGE_PATH = \ROOT_PATH . \DIRECTORY_SEPARATOR . 'storage'
- Storage path.
Constants
APP_ENV
Define app environment.
public
mixed
APP_ENV
= 'development'
Value can be 'production', 'development'. The config value will be auto-detect by order if the files in these environments were not found.
APP_ENV
public
mixed
APP_ENV
= 'production'
MODULE_PATH
Modules path.
public
mixed
MODULE_PATH
= \ROOT_PATH . \DIRECTORY_SEPARATOR . 'Modules'
The full path to modules folder.
By default it is ROOT_PATH . '/Modules'
.
PUBLIC_PATH
Public (root web) path.
public
mixed
PUBLIC_PATH
= __DIR__
The full path to public folder. By default it is the folder that contain this index.php file.
ROOT_PATH
Framework root path.
public
mixed
ROOT_PATH
= \dirname(__DIR__)
The full path to the framework's root path where contains "config", "Modules", "storage", "System" folders.
STORAGE_PATH
Storage path.
public
mixed
STORAGE_PATH
= \ROOT_PATH . \DIRECTORY_SEPARATOR . 'storage'
The full path to storage folder. This folder contains logs, cache.
By default it is ROOT_PATH . '/storage'
.