root/releases/0.1.2a/includes.php

Revision 7, 2.0 kB (checked in by sven, 3 years ago)

snapshot of elgg 0.1.2a

Line 
1 <?php
2
3     // ELGG system includes
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         // External URL to the site (eg http://elgg.bogton.edu/)
12         // NB: **MUST** have a final slash at the end
13             define("url", "");
14         // Physical path to the files (eg /home/elggserver/httpdocs/)
15         // NB: **MUST** have a final slash at the end
16             define("path", "");
17         // Email address of the master admin (eg elgg-admin@bogton.edu)
18             define("email", "");
19
20     // Database config:
21     
22         // Database server (eg localhost)
23             define("db_server", "");
24         // Database username
25             define("db_user", "");
26         // Database password
27             define("db_pass", "");
28         // Database name
29             define("db_name", "");
30                     
31     // Load required system files: do not edit this line.
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     // Main index
51         @include(path . "content/mainindex/main.php");
52     // User-related
53         @include(path . "content/users/main.php");
54     
55     /***************************************************************************
56     *    START-OF-PAGE RUNNING
57     ****************************************************************************/
58     
59         run("init");
60         
61 ?>
Note: See TracBrowser for help on using the browser.