Core Definition Constants
| constant | Absolute path to the application’s... |
|---|---|
APP |
root directory. |
APP_PATH |
app directory. |
CACHE |
cache files directory. |
CAKE |
cake directory. |
COMPONENTS |
components directory. |
CONFIGS |
configuration files directory. |
CONTROLLER_TESTS |
controller tests directory. |
CONTROLLERS |
controllers directory. |
CSS |
CSS files directory. |
ELEMENTS |
elements directory. |
HELPER_TESTS |
helper tests directory. |
HELPERS |
helpers directory. |
IMAGES |
images directory. |
INFLECTIONS |
inflections directory (usually inside the configuration directory). |
JS |
JavaScript files directory (in the webroot). |
LAYOUTS |
layouts directory. |
LIB_TESTS |
CakePHP Library tests directory. |
LIBS |
CakePHP libs directory. |
LOGS |
logs directory (in app). |
MODEL_TESTS |
model tests directory. |
MODELS |
models directory. |
SCRIPTS |
Cake scripts directory. |
TESTS |
tests directory (parent for the models, controllers, etc. test directories) |
TMP |
tmp directory. |
VENDORS |
vendors directory. |
VIEWS |
views directory. |
WWW_ROOT |
full path to the webroot. |


Коментарии:
Добавить коментарий