| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 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"); |
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
require_once($CFG->dirroot.'lib/datalib.php'); |
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
require_once($CFG->dirroot.'lib/elgglib.php'); |
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
require_once($CFG->dirroot.'lib/setup.php'); |
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
require_once(dirname(__FILE__)."/includes_system.php"); |
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 |
require_once($CFG->dirroot.'lib/constants.php'); |
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 |
require_once($CFG->dirroot.'lib/dbsetup.php'); |
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 |
* INSERT PLUGINS HERE |
|---|
| 29 |
* Eventually this should be replaced with plugin autodiscovery |
|---|
| 30 |
****************************************************************************/ |
|---|
| 31 |
|
|---|
| 32 |
// XMLRPC |
|---|
| 33 |
// @include($CFG->dirroot . "units/rpc/main.php"); |
|---|
| 34 |
|
|---|
| 35 |
/*************************************************************************** |
|---|
| 36 |
* CONTENT MODULES |
|---|
| 37 |
* This should make languages easier, although some kind of |
|---|
| 38 |
* selection process will be required |
|---|
| 39 |
****************************************************************************/ |
|---|
| 40 |
|
|---|
| 41 |
// General |
|---|
| 42 |
include_once($CFG->dirroot . "content/general/main.php"); |
|---|
| 43 |
|
|---|
| 44 |
include_once($CFG->dirroot . "content/mainindex/main.php"); |
|---|
| 45 |
|
|---|
| 46 |
include_once($CFG->dirroot . "content/users/main.php"); |
|---|
| 47 |
|
|---|
| 48 |
|
|---|
| 49 |
* HELP MODULES |
|---|
| 50 |
****************************************************************************/ |
|---|
| 51 |
|
|---|
| 52 |
// Include main |
|---|
| 53 |
include_once($CFG->dirroot . "help/mainindex/main.php"); |
|---|
| 54 |
|
|---|
| 55 |
|
|---|
| 56 |
@include($CFG->dirroot . "units/tinymce/main.php"); |
|---|
| 57 |
|
|---|
| 58 |
|
|---|
| 59 |
// require($CFG->dirroot . "units/calendar/main.php"); |
|---|
| 60 |
|
|---|
| 61 |
/*************************************************************************** |
|---|
| 62 |
* START-OF-PAGE RUNNING |
|---|
| 63 |
****************************************************************************/ |
|---|
| 64 |
|
|---|
| 65 |
run("init"); |
|---|
| 66 |
|
|---|
| 67 |
?> |
|---|