| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
// System constants: set values as necessary |
|---|
| 6 |
// Supply your values within the second set of speech marks in the pair |
|---|
| 7 |
// i.e., define("system constant name", "your value"); |
|---|
| 8 |
|
|---|
| 9 |
// Name of the site (eg Elgg, Apcala, University of Bogton's Learning Landscape, etc) |
|---|
| 10 |
define("sitename", ""); |
|---|
| 11 |
|
|---|
| 12 |
// NB: **MUST** have a final slash at the end |
|---|
| 13 |
define("url", ""); |
|---|
| 14 |
|
|---|
| 15 |
// NB: **MUST** have a final slash at the end |
|---|
| 16 |
define("path", ""); |
|---|
| 17 |
|
|---|
| 18 |
define("email", ""); |
|---|
| 19 |
|
|---|
| 20 |
// To include new languages, save their compiled .mo gettext |
|---|
| 21 |
// file into languages/country code/LC_MESSAGES/ |
|---|
| 22 |
// (the file within this folder must be called elgg.mo) |
|---|
| 23 |
// An Elgg gettext template is included as /elgg.pot |
|---|
| 24 |
define("locale", "en"); |
|---|
| 25 |
|
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 |
// Database server (eg localhost) |
|---|
| 29 |
define("db_server", ""); |
|---|
| 30 |
|
|---|
| 31 |
define("db_user", ""); |
|---|
| 32 |
|
|---|
| 33 |
define("db_pass", ""); |
|---|
| 34 |
|
|---|
| 35 |
define("db_name", ""); |
|---|
| 36 |
|
|---|
| 37 |
|
|---|
| 38 |
require("includes_system.php"); |
|---|
| 39 |
|
|---|
| 40 |
|
|---|
| 41 |
* INSERT PLUGINS HERE |
|---|
| 42 |
* Eventually this should be replaced with plugin autodiscovery |
|---|
| 43 |
****************************************************************************/ |
|---|
| 44 |
|
|---|
| 45 |
// XMLRPC |
|---|
| 46 |
// @include(path . "units/rpc/main.php"); |
|---|
| 47 |
|
|---|
| 48 |
/*************************************************************************** |
|---|
| 49 |
* CONTENT MODULES |
|---|
| 50 |
* This should make languages easier, although some kind of |
|---|
| 51 |
* selection process will be required |
|---|
| 52 |
****************************************************************************/ |
|---|
| 53 |
|
|---|
| 54 |
// General |
|---|
| 55 |
@include(path . "content/general/main.php"); |
|---|
| 56 |
|
|---|
| 57 |
@include(path . "content/mainindex/main.php"); |
|---|
| 58 |
|
|---|
| 59 |
@include(path . "content/users/main.php"); |
|---|
| 60 |
|
|---|
| 61 |
|
|---|
| 62 |
* HELP MODULES |
|---|
| 63 |
****************************************************************************/ |
|---|
| 64 |
|
|---|
| 65 |
// Include main |
|---|
| 66 |
@include(path . "help/mainindex/main.php"); |
|---|
| 67 |
|
|---|
| 68 |
|
|---|
| 69 |
* START-OF-PAGE RUNNING |
|---|
| 70 |
****************************************************************************/ |
|---|
| 71 |
|
|---|
| 72 |
run("init"); |
|---|
| 73 |
|
|---|
| 74 |
?> |
|---|