Actions

Directory structure

From LimeSurvey Manual

Revision as of 22:57, 8 August 2012 by Sammousa (talk | contribs)

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 -- 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
  • 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