|
Revision 7, 2.0 kB
(checked in by sven, 3 years ago)
|
snapshot of elgg 0.1.2a
|
| Line | |
|---|
| 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 |
|
|---|
| 21 |
|
|---|
| 22 |
// Database server (eg localhost) |
|---|
| 23 |
define("db_server", ""); |
|---|
| 24 |
|
|---|
| 25 |
define("db_user", ""); |
|---|
| 26 |
|
|---|
| 27 |
define("db_pass", ""); |
|---|
| 28 |
|
|---|
| 29 |
define("db_name", ""); |
|---|
| 30 |
|
|---|
| 31 |
|
|---|
| 32 |
require("includes_system.php"); |
|---|
| 33 |
|
|---|
| 34 |
|
|---|
| 35 |
* INSERT PLUGINS HERE |
|---|
| 36 |
* Eventually this should be replaced with plugin autodiscovery |
|---|
| 37 |
****************************************************************************/ |
|---|
| 38 |
|
|---|
| 39 |
// Invite-a-friend |
|---|
| 40 |
@include(path . "units/invite/main.php"); |
|---|
| 41 |
|
|---|
| 42 |
|
|---|
| 43 |
* CONTENT MODULES |
|---|
| 44 |
* This should make languages easier, although some kind of |
|---|
| 45 |
* selection process will be required |
|---|
| 46 |
****************************************************************************/ |
|---|
| 47 |
|
|---|
| 48 |
// General |
|---|
| 49 |
@include(path . "content/general/main.php"); |
|---|
| 50 |
|
|---|
| 51 |
@include(path . "content/mainindex/main.php"); |
|---|
| 52 |
|
|---|
| 53 |
@include(path . "content/users/main.php"); |
|---|
| 54 |
|
|---|
| 55 |
|
|---|
| 56 |
* START-OF-PAGE RUNNING |
|---|
| 57 |
****************************************************************************/ |
|---|
| 58 |
|
|---|
| 59 |
run("init"); |
|---|
| 60 |
|
|---|
| 61 |
?> |
|---|