|
Revision 3, 1.8 kB
(checked in by sven, 3 years ago)
|
snapshot of elgg 0.1.1a
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
// System constants: set as necessary |
|---|
| 6 |
|
|---|
| 7 |
// Name of the site (eg Elgg, Apcala, University of Bogton's Learning Landscape, etc) |
|---|
| 8 |
define("sitename", ""); |
|---|
| 9 |
|
|---|
| 10 |
define("url", ""); |
|---|
| 11 |
|
|---|
| 12 |
define("path", ""); |
|---|
| 13 |
|
|---|
| 14 |
define("email", ""); |
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
// Database server |
|---|
| 19 |
define("db_server", ""); |
|---|
| 20 |
|
|---|
| 21 |
define("db_user", ""); |
|---|
| 22 |
|
|---|
| 23 |
define("db_pass", ""); |
|---|
| 24 |
|
|---|
| 25 |
define("db_name", ""); |
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 |
require("includes_system.php"); |
|---|
| 29 |
|
|---|
| 30 |
|
|---|
| 31 |
* INSERT PLUGINS HERE |
|---|
| 32 |
* Eventually this should be replaced with plugin autodiscovery |
|---|
| 33 |
****************************************************************************/ |
|---|
| 34 |
|
|---|
| 35 |
// Invite-a-friend |
|---|
| 36 |
@include(path . "units/invite/main.php"); |
|---|
| 37 |
|
|---|
| 38 |
|
|---|
| 39 |
* CONTENT MODULES |
|---|
| 40 |
* This should make languages easier, although some kind of |
|---|
| 41 |
* selection process will be required |
|---|
| 42 |
****************************************************************************/ |
|---|
| 43 |
|
|---|
| 44 |
// General |
|---|
| 45 |
@include(path . "content/general/main.php"); |
|---|
| 46 |
|
|---|
| 47 |
@include(path . "content/mainindex/main.php"); |
|---|
| 48 |
|
|---|
| 49 |
@include(path . "content/users/main.php"); |
|---|
| 50 |
|
|---|
| 51 |
|
|---|
| 52 |
* START-OF-PAGE RUNNING |
|---|
| 53 |
****************************************************************************/ |
|---|
| 54 |
|
|---|
| 55 |
run("init"); |
|---|
| 56 |
|
|---|
| 57 |
?> |
|---|