root/releases/0.301/includes.php

Revision 11, 2.6 kB (checked in by sven, 3 years ago)

snapshot of elgg 0.301

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         // Country code to set language to if you have gettext installed
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     // Database config:
27     
28         // Database server (eg localhost)
29             define("db_server", "");
30         // Database username
31             define("db_user", "");
32         // Database password
33             define("db_pass", "");
34         // Database name
35             define("db_name", "");
36                     
37     // Load required system files: do not edit this line.
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     // Main index
57         @include(path . "content/mainindex/main.php");
58     // User-related
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 ?>
Note: See TracBrowser for help on using the browser.