3 // error_reporting(E_ERROR | E_WARNING | E_PARSE);
5 // All installation specific parameters should be in a file
6 // that is not part of the standard distribution.
7 require_once(dirname(__FILE__
)."/config.php");
10 require_once($CFG->dirroot
.'lib/datalib.php');
13 require_once($CFG->dirroot
.'lib/elgglib.php');
15 // Load setup.php which will initialize database connections and such like.
16 require_once($CFG->dirroot
.'lib/setup.php');
18 // Load required system files: do not edit this line.
19 require_once(dirname(__FILE__
)."/includes_system.php");
22 require_once($CFG->dirroot
.'lib/constants.php');
25 require_once($CFG->dirroot
.'lib/dbsetup.php');
27 /***************************************************************************
29 * Eventually this should be replaced with plugin autodiscovery
30 ****************************************************************************/
33 // @include($CFG->dirroot . "units/rpc/main.php");
35 /***************************************************************************
37 * This should make languages easier, although some kind of
38 * selection process will be required
39 ****************************************************************************/
42 include_once($CFG->dirroot
. "content/general/main.php");
44 include_once($CFG->dirroot
. "content/mainindex/main.php");
46 include_once($CFG->dirroot
. "content/users/main.php");
48 /***************************************************************************
50 ****************************************************************************/
53 include_once($CFG->dirroot
. "help/mainindex/main.php");
55 // Visual editor (tinyMCE)
56 @include
($CFG->dirroot
. "units/tinymce/main.php");
59 // require($CFG->dirroot . "units/calendar/main.php");
61 /***************************************************************************
62 * START-OF-PAGE RUNNING
63 ****************************************************************************/