minor tweak on #136 patch, use @init_get and init_get_bool
[elgg.git] / _elggadmin / configdef.php
blob295414a99de86571cddc2f00403cc2c0c200bc4b
1 <?php
3 $DEFCFG->config['adminuser']->name = ("Administration panel username");
4 $DEFCFG->config['adminuser']->description = ("Username to log into this admin panel in future to change your settings.");
5 $DEFCFG->config['adminuser']->type = "requiredstring";
6 $DEFCFG->config['adminuser']->important = true;
7 $DEFCFG->config['adminpassword']->name = ("Admin password");
8 $DEFCFG->config['adminpassword']->description = ("Password to log into this admin panel in future.");
9 $DEFCFG->config['adminpassword']->type = "requiredstring";
10 $DEFCFG->config['adminpassword']->important = true;
11 $DEFCFG->config['sitename']->name = ("Site name");
12 $DEFCFG->config['sitename']->description = ("Enter the name of your site here (eg Elgg, Apcala, University of Bogton's Social Network, etc)");
13 $DEFCFG->config['sitename']->important = true;
14 $DEFCFG->config['tagline']->name = ("Tagline");
15 $DEFCFG->config['tagline']->description = ("A tagline for your site (eg 'Social network for Bogton')");
16 $DEFCFG->config['wwwroot']->name = ("Web root");
17 $DEFCFG->config['wwwroot']->description = ("External URL to the site (eg http://elgg.bogton.edu/). NB: **MUST** have a final slash at the end");
18 $DEFCFG->config['wwwroot']->important = true;
19 $DEFCFG->config['dirroot']->name = ("Elgg install root");
20 $DEFCFG->config['dirroot']->description = ("Physical path to the files (eg /home/elggserver/httpdocs/). NB: **MUST** have a final slash at the end");
21 $DEFCFG->config['dirroot']->important = true;
22 $DEFCFG->config['dataroot']->name = ("Elgg data root");
23 $DEFCFG->config['dataroot']->description = ("This is a special directory where uploaded files will go. If possible, this should live outside your main Elgg install (you'll need to create it by hand). It must have world writable permissions set, and have a final slash at the end.");
24 $DEFCFG->config['dataroot']->important = true;
25 $DEFCFG->config['dbtype']->name = ("Database type");
26 $DEFCFG->config['dbtype']->description = ("Acceptable values are 'mysql' and 'postgres' - MySQL is highly recommended");
27 $DEFCFG->config['dbtype']->important = true;
28 $DEFCFG->config['dbname']->name = ("Database name");
29 $DEFCFG->config['dbname']->important = true;
30 $DEFCFG->config['dbhost']->name = ("Database host");
31 $DEFCFG->config['dbhost']->important = true;
32 $DEFCFG->config['dbuser']->name = ("Database user");
33 $DEFCFG->config['dbuser']->important = true;
34 $DEFCFG->config['dbpass']->name = ("Database password");
35 $DEFCFG->config['dbpass']->important = true;
36 $DEFCFG->config['prefix']->name = ("Database table prefix");
37 $DEFCFG->config['prefix']->description = ("All database tables will start with this; we recommend 'elgg'");
38 $DEFCFG->config['prefix']->important = true;
39 $DEFCFG->config['sysadminemail']->name = ("System administrator email");
40 $DEFCFG->config['sysadminemail']->description = ("The email address your site will send email from (eg elgg-admin@bogton.edu)");
41 $DEFCFG->config['sysadminemail']->important = true;
42 $DEFCFG->config['newsinitialpassword']->name = ("News account initial password");
43 $DEFCFG->config['newsinitialpassword']->description = ("The initial password for the 'news' account. This will be the first administrator user within your system, and you should change the password immediately after the first time you log in");
44 $DEFCFG->config['newsinitialpassword']->important = true;
45 $DEFCFG->config['defaultlocale']->name = ("Default locale");
46 $DEFCFG->config['defaultlocale']->description = ("Country code to set language to if you have gettext installed");
47 $DEFCFG->config['publicreg']->name = ("Public registration");
48 $DEFCFG->config['publicreg']->description = ("Can general members of the public register for this system?");
49 $DEFCFG->config['publicreg']->type = "boolean";
50 $DEFCFG->config['publicinvite']->name = ("Public invitations");
51 $DEFCFG->config['publicinvite']->description = ("Can users of this system invite other users in?");
52 $DEFCFG->config['publicinvite']->type = "boolean";
53 $DEFCFG->config['maxusers']->name = ("Maximum users");
54 $DEFCFG->config['maxusers']->description = ("The maximum number of users in your system. If you set this to 0, you will have an unlimited number of users");
55 $DEFCFG->config['maxusers']->type = "integer";
56 $DEFCFG->config['maxspace']->name = ("Maximum disk space");
57 $DEFCFG->config['maxspace']->description = ("The maximum disk space taken up by all uploaded files");
58 $DEFCFG->config['maxspace']->type = "integer";
59 $DEFCFG->config['walledgarden']->name = ("Walled garden");
60 $DEFCFG->config['walledgarden']->description = ("If your site is a walled garden, nobody can see anything from the outside. This will also mean that RSS feeds won't work");
61 $DEFCFG->config['walledgarden']->type = "boolean";
62 $DEFCFG->config['disable_publiccomments']->name = ("Disable public comments");
63 $DEFCFG->config['disable_publiccomments']->description = ("Set the following to true to force users to log in before they can post comments, overriding the per-user option. This is a handy sledgehammer-to-crack-a-nut tactic to protect against comment spam (although an Akismet plugin is available from elgg.org).");
64 $DEFCFG->config['disable_publiccomments']->type = "boolean";
65 $DEFCFG->config['emailfilter']->name = ("Email filter");
66 $DEFCFG->config['emailfilter']->description = ("Anything you enter here must be present in the email address of anyone who registers; e.g. @mycompany.com will only allow email address from mycompany.com to register");
67 $DEFCFG->config['default_access']->name = ("Default access");
68 $DEFCFG->config['default_access']->description = ("The default access level for all new items in the system");
69 $DEFCFG->config['default_access']->type = ("access");
70 $DEFCFG->config['disable_usertemplates']->name = ("Disable user templates");
71 $DEFCFG->config['disable_usertemplates']->description = ("If this is set, users can only choose from available templates rather than defining their own");
72 $DEFCFG->config['disable_usertemplates']->type = "boolean";
73 $DEFCFG->config['disable_templatechanging']->name = ("Disable template changing");
74 $DEFCFG->config['disable_templatechanging']->description = ("Users cannot change their template at all");
75 $DEFCFG->config['disable_templatechanging']->type = "boolean";
76 $DEFCFG->config['dbpersist']->name = ("Persistent connections");
77 $DEFCFG->config['dbpersist']->description = ("Should Elgg use persistent database connections?");
78 $DEFCFG->config['dbpersist']->type = "boolean";
79 $DEFCFG->config['debug']->name = ("Debug");
80 $DEFCFG->config['debug']->description = ("Set this to 2047 to get adodb error handling");
81 $DEFCFG->config['debug']->type = "integer";
82 $DEFCFG->config['rsspostsmaxage']->name = ("RSS posts maximum age");
83 $DEFCFG->config['rsspostsmaxage']->description = ("Number of days to keep incoming RSS feed entries for before deleting them. Set this to 0 if you don't want RSS posts to be removed.");
84 $DEFCFG->config['rsspostsmaxage']->type = "integer";
85 $DEFCFG->config['community_create_flag']->name = ("Community create flag");
86 $DEFCFG->config['community_create_flag']->description = ("Set this to 'admin' if you would like to restrict the ability to create communities to admin users.");
87 $DEFCFG->config['curlpath']->name = ("CURL path");
88 $DEFCFG->config['curlpath']->description = ("Set this to the CURL executable if CURL is installed; otherwise leave blank.");
89 $DEFCFG->config['templatesroot']->name = ("Templates location");
90 $DEFCFG->config['templatesroot']->description = ("The full path of your Default_Template directory");
91 $DEFCFG->config['profilelocation']->name = ("Profile location");
92 $DEFCFG->config['profilelocation']->description = ("The full path to your profile configuration file (usually it's best to leave this in mod/profile/)");