root/releases/0.1.1b/includes.php

Revision 5, 1.8 kB (checked in by sven, 3 years ago)

snapshot of elgg 0.1.1b

Line 
1 <?php
2
3     // ELGG system includes
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         // External URL to the site (eg http://elgg.bogton.edu/)
10             define("url", "");
11         // Physical path to the files (eg /home/elggserver/httpdocs/)
12         // NB: **MUST** have a final slash at the end
13             define("path", "");
14         // Email address of the master admin (eg elgg-admin@bogton.edu)
15             define("email", "");
16
17     // Database config:
18     
19         // Database server (eg localhost)
20             define("db_server", "");
21         // Database username
22             define("db_user", "");
23         // Database password
24             define("db_pass", "");
25         // Database name
26             define("db_name", "");
27                     
28     // Load required system files: do not edit this line.
29         require("includes_system.php");
30         
31     /***************************************************************************
32     *    INSERT PLUGINS HERE
33     *    Eventually this should be replaced with plugin autodiscovery
34     ****************************************************************************/
35     
36     // Invite-a-friend
37         @include(path . "units/invite/main.php");
38     
39     /***************************************************************************
40     *    CONTENT MODULES
41     *    This should make languages easier, although some kind of
42     *    selection process will be required
43     ****************************************************************************/
44         
45     // General
46         @include(path . "content/general/main.php");
47     // Main index
48         @include(path . "content/mainindex/main.php");
49     // User-related
50         @include(path . "content/users/main.php");
51     
52     /***************************************************************************
53     *    START-OF-PAGE RUNNING
54     ****************************************************************************/
55     
56         run("init");
57         
58 ?>
Note: See TracBrowser for help on using the browser.