-
Notifications
You must be signed in to change notification settings - Fork 1
Configuration values
sqarerootfury edited this page Jul 26, 2013
·
11 revisions
- Redundancy config values
Following values are written in /path/to/Redundancy/Redundancy.conf. It's recommend to configure your webserver to avoid downloading of the configuration file. Configuration values marked with "[Obsolete]" are not used anymore and will be removed. You don't have to insert them into your program's configuration
- Boolean: 1 - yes; 0 - no
- String: A text
- Numeric: An integer, not numbers like 1,5
Note: Parts of this settings will be moved to individual user settings.
| Setting | Description | Default value | Type |
| User_Contingent | Sets the default user contingent which is set at the registration process | 20 | Numeric (int) |
| User_Default_Role | Sets the default user role which is set at the registration process | 1 | Numeric 0 - Admin 1 - User 2 - System 3 - Guest Use with caution! |
| User_Allow_Delete | Sets the option if the user can delete his account over his account details | 0 | Boolean |
| User_Registration_AutoDisable | Sets the option if the user account is disabled at registration | 0 | Boolean |
| User_Activation_Link_Sender | The email name which is used if the user account is disabled at default (User_Registration_AutoDisable = 1) | "" | String |
| User_Activation_Link_Sender_Email | The email adress which is used with User_Activation_Link_Sender | "" | String |
| User_Enable_Recover | Sets the option if the user is allowed to recover his password over email | 0 | Boolean |
| User_Recover_Password_Length | The length of the password which is generated at recover | 10 | Numeric (int) |
| User_Max_Fails | The number of failed login tries until account is locked | 5 | Numeric (int) |
| User_NoLogout_Warning | Determine if a warning will be displayed if the user forgot to log out on another client. | 1 | Boolean |
| Setting | Description | Default value | Type |
| Enable_register | Enables the user registration over the web interface | 0 | Boolean |
| Enable | Enables the Redundancy instance | 1 | Boolean |
| Program_Share_Dir | The Path of the Program relative to the domain | [obsolete] | String |
| Program_Path | Internal(!) path of the program | /var/www/Redundancy/ | String |
| Program_Name_ALT | The displayed program name | Redundancy | String |
| Program_Path_Separator | [Obsolete] | [Obsolete] | String |
| Program_Display_Icons_if_needed | Display images with a thumbnail (only activate if PHP-GD is active) | 0 | Boolean |
| Program_Display_Version | Display program version | 1 | Boolean |
| Program_Display_Loadtime | Display the program load time | 1 | Boolean |
| Program_Debug | Display errors | 0 | Boolean (Use with caution!) |
| Program_Redirect_Upload | Redirect the user to the uploaded file | 1 | Boolean |
| Program_Redirect_NewDir | Redirect the user after creation of a new directory | 1 | Boolean |
| Program_Language | The program interface language - value must be existing in /Language/ | en | String |
| Api_Enable | Enables the Redundancy API | 0 | Boolean (use with caution!) |
| IE_Warning | Display a warning for users of Internet Explorer | 1 | Boolean |
| Program_Language | The interface language | "en" | String containing the language code from /Language/{lang}.lng |
| Program_Privacy_Mask | Determines if the program masks IP's in the database (not if user is banned!) | 1 | Boolean |
| Program_HTTPS_Redirect | Force HTTPS (highly recommended) | 1 | Boolean |
| Program_Mime_Use_DataBase | Get the mimetype throught the database instead out of the filesystem | 1 | Boolean |
| Program_Enable_Plugins | Determines if the program should load plugins. | 0 | Boolean |
| Program_Enable_JQuery | Determines if Redundancy should generate JQuery context menus, messages etc. | 1 | Boolean |
| Program_Share_Anonymously | Determines if Redundancy should create anonymouse share links or if the share link should contain the display name | 0 | Boolean |