Directory structure: Difference between revisions
From LimeSurvey Manual
No edit summary |
No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
Root | Root | ||
* | * application -- Contains the Yii limesurvey application, back-end stuff should mostly be in here. | ||
* | ** config -- Contains the configuration for the framework and LimeSurvey. | ||
** controllers -- Contains the controllers from the MVC paradigm. | |||
** 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. | |||
** views | |||
* docs | * docs | ||
* fonts | * fonts | ||
Line 11: | Line 23: | ||
* installer -- Contains files for initial installation and upgrading. | * installer -- Contains files for initial installation and upgrading. | ||
* locale | * locale | ||
* plugins -- Shipped and custom plugins | |||
* scripts -- Contains javascript files. | * scripts -- Contains javascript files. | ||
* styles-public -- Contains css files (difference with normal styles dir?) | * styles-public -- Contains css files (difference with normal styles dir?) | ||
* 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 |
Latest revision as of 15:54, 17 February 2015
This page should explain the directory hierarchy for the Yii branch.
Root
- application -- Contains the Yii limesurvey application, back-end stuff should mostly be in here.
- config -- Contains the configuration for the framework and LimeSurvey.
- controllers -- Contains the controllers from the MVC paradigm.
- 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.
- views
- 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
- plugins -- Shipped and custom plugins
- 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