Note: You are currently viewing documentation for Moodle 2.6. Up-to-date documentation for the latest stable version of Moodle may be available here: What happens when you require config.php.

Development:What happens when you require config.php: Revision history

From MoodleDocs

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

14 April 2009

  • curprev 09:1709:17, 14 April 2009Tim Hunt talk contribs 1,047 bytes +1,047 New page: Most scripts in Moodle start with the line <code php> require_once(dirname(__FILE__) . '/../../config.php'); </code> with an appropriate number of '../'s. This achieves two main things # I...