Created a new folder in _templates to house site icons. Put the new RSS standard...
[elgg.git] / includes.php
blobf71d305823fe343bc2eb4cba614467ca931cf6d0
1 <?php
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");
9 // Load datalib
10 require_once($CFG->dirroot.'lib/datalib.php');
12 // Load elgglib
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");
21 // Load constants
22 require_once($CFG->dirroot.'lib/constants.php');
24 // Check database
25 require_once($CFG->dirroot.'lib/dbsetup.php');
27 /***************************************************************************
28 * INSERT PLUGINS HERE
29 * Eventually this should be replaced with plugin autodiscovery
30 ****************************************************************************/
32 // XMLRPC
33 // @include($CFG->dirroot . "units/rpc/main.php");
35 /***************************************************************************
36 * CONTENT MODULES
37 * This should make languages easier, although some kind of
38 * selection process will be required
39 ****************************************************************************/
41 // General
42 include_once($CFG->dirroot . "content/general/main.php");
43 // Main index
44 include_once($CFG->dirroot . "content/mainindex/main.php");
45 // User-related
46 include_once($CFG->dirroot . "content/users/main.php");
48 /***************************************************************************
49 * HELP MODULES
50 ****************************************************************************/
52 // Include main
53 include_once($CFG->dirroot . "help/mainindex/main.php");
55 // Visual editor (tinyMCE)
56 @include($CFG->dirroot . "units/tinymce/main.php");
58 // Calendaring system
59 // require($CFG->dirroot . "units/calendar/main.php");
61 /***************************************************************************
62 * START-OF-PAGE RUNNING
63 ****************************************************************************/
65 run("init");