| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
// ELGG system includes |
|---|
| 6 |
|
|---|
| 7 |
// System constants: set values as necessary |
|---|
| 8 |
// Supply your values within the second set of speech marks in the pair |
|---|
| 9 |
// i.e., define("system constant name", "your value"); |
|---|
| 10 |
|
|---|
| 11 |
// Name of the site (eg Elgg, Apcala, University of Bogton's Learning Landscape, etc) |
|---|
| 12 |
define("sitename", ""); |
|---|
| 13 |
|
|---|
| 14 |
// NB: **MUST** have a final slash at the end |
|---|
| 15 |
define("url", ""); |
|---|
| 16 |
|
|---|
| 17 |
// NB: **MUST** have a final slash at the end |
|---|
| 18 |
define("path", ""); |
|---|
| 19 |
|
|---|
| 20 |
define("email", ""); |
|---|
| 21 |
|
|---|
| 22 |
// To include new languages, save their compiled .mo gettext |
|---|
| 23 |
// file into languages/country code/LC_MESSAGES/ |
|---|
| 24 |
// (the file within this folder must be called elgg.mo) |
|---|
| 25 |
// An Elgg gettext template is included as /elgg.pot |
|---|
| 26 |
define("locale", "en_GB"); |
|---|
| 27 |
|
|---|
| 28 |
// general public to be able to register accounts with your |
|---|
| 29 |
// Elgg site. |
|---|
| 30 |
define("public_reg", true); |
|---|
| 31 |
|
|---|
| 32 |
// site. Possible values include: |
|---|
| 33 |
// PUBLIC :: available to everyone |
|---|
| 34 |
// LOGGED_IN :: available to logged in users only |
|---|
| 35 |
// PRIVATE :: available to the user only |
|---|
| 36 |
define("default_access", "LOGGED_IN"); |
|---|
| 37 |
|
|---|
| 38 |
|
|---|
| 39 |
// for Elgg developers, and should normally be set to false. |
|---|
| 40 |
define("ELGG_DEBUG", true); |
|---|
| 41 |
|
|---|
| 42 |
|
|---|
| 43 |
|
|---|
| 44 |
// Database server (eg localhost) |
|---|
| 45 |
define("db_server", ""); |
|---|
| 46 |
|
|---|
| 47 |
define("db_user", ""); |
|---|
| 48 |
|
|---|
| 49 |
define("db_pass", ""); |
|---|
| 50 |
|
|---|
| 51 |
define("db_name", ""); |
|---|
| 52 |
|
|---|
| 53 |
|
|---|
| 54 |
require("includes_system.php"); |
|---|
| 55 |
|
|---|
| 56 |
|
|---|
| 57 |
* INSERT PLUGINS HERE |
|---|
| 58 |
* Eventually this should be replaced with plugin autodiscovery |
|---|
| 59 |
****************************************************************************/ |
|---|
| 60 |
|
|---|
| 61 |
// XMLRPC |
|---|
| 62 |
// @include(path . "units/rpc/main.php"); |
|---|
| 63 |
|
|---|
| 64 |
// Visual editor (tinyMCE) |
|---|
| 65 |
@include(path . "units/tinymce/main.php"); |
|---|
| 66 |
|
|---|
| 67 |
|
|---|
| 68 |
// require(path . "units/calendar/main.php"); |
|---|
| 69 |
|
|---|
| 70 |
/*************************************************************************** |
|---|
| 71 |
* CONTENT MODULES |
|---|
| 72 |
* This should make languages easier, although some kind of |
|---|
| 73 |
* selection process will be required |
|---|
| 74 |
****************************************************************************/ |
|---|
| 75 |
|
|---|
| 76 |
// General |
|---|
| 77 |
@include(path . "content/general/main.php"); |
|---|
| 78 |
|
|---|
| 79 |
@include(path . "content/mainindex/main.php"); |
|---|
| 80 |
|
|---|
| 81 |
@include(path . "content/users/main.php"); |
|---|
| 82 |
|
|---|
| 83 |
|
|---|
| 84 |
* HELP MODULES |
|---|
| 85 |
****************************************************************************/ |
|---|
| 86 |
|
|---|
| 87 |
// Include main |
|---|
| 88 |
@include(path . "help/mainindex/main.php"); |
|---|
| 89 |
|
|---|
| 90 |
|
|---|
| 91 |
* START-OF-PAGE RUNNING |
|---|
| 92 |
****************************************************************************/ |
|---|
| 93 |
|
|---|
| 94 |
run("init"); |
|---|
| 95 |
|
|---|
| 96 |
?> |
|---|
| 97 |
|
|---|