Directory structure: Difference between revisions
From LimeSurvey Manual
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
Root | Root | ||
* admin | * admin -- Contains just a redirect to keep the old /admin URL available; dont put any files in there. | ||
* application | * application -- Contains the Yii limesurvey application, back-end stuff should mostly be in here. | ||
** config | |||
** controllers | |||
** core | |||
** errors | |||
** helpers | |||
** hooks | |||
** language | |||
** libraries | |||
** logs | |||
** models | |||
** tests | |||
** third_party -- Contains third party libraries that are used by the backend and do not have to be available directly from a browser. | |||
** vies | |||
* docs | * docs | ||
* fonts | * fonts | ||
Line 15: | Line 28: | ||
* styles -- Contains css files | * styles -- Contains css files | ||
* templates | * templates | ||
* third-party -- This contains (scripting) libraries that must be available directly. For example jquery. Only place original libraries here, put configuration in the scripts dir. Create a subdirectory for each library, but don't include the version number in the directory; this allows for easy upgrading. | * third-party -- This contains (scripting) libraries that must be available directly via the browser. For example jquery. Only place original libraries here, put configuration in the scripts dir. Create a subdirectory for each library, but don't include the version number in the directory; this allows for easy upgrading. | ||
* tmp | * tmp | ||
* upload | * upload |
Revision as of 22:52, 8 August 2012
This page should explain the directory hierarchy for the Yii branch.
Root
- admin -- Contains just a redirect to keep the old /admin URL available; dont put any files in there.
- application -- Contains the Yii limesurvey application, back-end stuff should mostly be in here.
- config
- controllers
- core
- errors
- helpers
- hooks
- language
- libraries
- logs
- models
- tests
- third_party -- Contains third party libraries that are used by the backend and do not have to be available directly from a browser.
- vies
- docs
- fonts
- framework -- The Yii framework. This directory should not be changed unless you are updating Yii.
- images
- installer -- Contains files for initial installation and upgrading.
- locale
- scripts -- Contains javascript files.
- styles-public -- Contains css files (difference with normal styles dir?)
- styles -- Contains css files
- templates
- third-party -- This contains (scripting) libraries that must be available directly via the browser. For example jquery. Only place original libraries here, put configuration in the scripts dir. Create a subdirectory for each library, but don't include the version number in the directory; this allows for easy upgrading.
- tmp
- upload