Note: You are currently viewing documentation for Moodle 2.2. Up-to-date documentation for the latest stable version is available here: Moodledata directory.

Moodledata directory

From MoodleDocs
Revision as of 08:42, 26 August 2011 by Helen Foster (talk | contribs) (page update)

The moodledata directory is the location of files that are uploaded or created by the Moodle interface. Since it is a directory, it can have a different name and location than the default name of "moodledata.

The moodledata directory is initially created with an initial install of a Moodle site. Site administrators can see the actual moodledata directory name and location in the config.php file.

The purpose of this page is to give an overview of this directory.

Moodledata directory/folder

In the moodledata folder there are folders called cache, filedir, lang, temp, trashdir and possibly also sessions and upgradelogs.

Lang folder

The lang folder is created when language pack is added after an initial install, or a language pack is edited. For example, sites that first install the en language, then install the version en_us, will find the lang folder, with a sub folder called en_us_utf8, with subfolders under that called docs and help.

When an en user edits the language strings, say changing "teacher" to "instructor", a subfolder is created in the lang folder.