Nucleus stores some global options in the nucleus_config table. They can be accessed at any time using $CONF['OptionName'] (the values are read on each request and stored in a global array named $CONF)
| Column Name | Type | Default | Description |
|---|---|---|---|
| name | varchar(20) | '' | Option name |
| value | varchar(128) | NULL | Option value |
An overview of available options is given below:
Options for yes/no options are represented using 1/0 (1=yes/true, 0=no/false)
| Name | Default Value | Description |
|---|---|---|
| DefaultBlog | 1 | Default weblog. This is the blog that will be used when no other blog has been specified in the request. |
| AdminEmail | E-mail address of site administrator | |
| IndexURL | URL of website. Should end with a slash. | |
| Language | english | Language file to use by default. A file languagename.php must exist in the languages directory. |
| SessionCookie | 0 | Use session cookie instead of cookies with a lifetime of one month? |
| AllowMemberCreate | 0 | Allow visitors to create their own account? |
| AllowMemberMail | 1 | Allow members to send messages to each other through the member mail forms (e-mail addresses remain hidden) |
| SiteName | Name of the website | |
| AdminURL | URL of admin area. Should end with a slash. | |
| NewMemberCanLogon | 1 | Can newly registered members login right away? If not, the administrator will have to change their 'can login' option first |
| DisableSite | 0 | Is the website disabled? If so, only the administrator can access it. All other visitors are redirected to DisableSiteURL. |
| DisableSiteURL | An URL to redirect to when the site is disabled. | |
| LastVisit | 0 | Save 'Last Visit' cookies |
| MediaURL | URL of media folder. Should end with a slash. | |
| AllowedTypes | jpg, jpeg, gif, mpg, mpeg, avi, mov, mp3, swf, png | Filetypes that can be uploaded |
| AllowLoginEdit | 0 | Allow members to edit their login name and password? |
| AllowUpload | 1 | Allow file uploads? |
| DisableJsTools | 2 |
Style of the javascript toolbar:
|
| CookiePath | / | Path to set cookie on |
| CookiePrefix | String to prefix cookie names with. This is useful when multiple Nucleus installs are on the same domain, as it prevents login sessions to interfere with each other. | |
| CookieDomain | Domain to set cookie on | |
| CookieSecure | 0 | Secure cookie (https) |
| MediaPrefix | 1 | If true, the uploaded files get the current date in their filename. |
| MaxUploadSize | 1048576 | Max. size of uploaded files (in bytes) |
| NonmemberMail | 0 | Allow non-members to send e-mail messages to site members? |
| PluginURL | URL of plugin folder. Should end with a slash. | |
| ProtectMemNames | 1 | When this option is enabled, non-logged in members cannot add comments using the same name as registered members. The reason to do this would be to avoid guest impersonating members. |
| BaseSkin | 1 | The option tells Nucleus which skin to fall back to when no such decision can be automatically made. This happens when skin parts are empty, when no blog or skin is implicitly/explicitly selected. |
| SkinsURL | URL of skins folder. Should end with a slash. | |
| ActionURL | URL of action.php script. |
|
| URLMode | normal | either normal or pathinfo |
| DatabaseVersion | 250 | Last Nucleus version for which the database structure has been updated (introduced in Nucleus v2.5) |