The values described here can be put in your config.php file as $config['varname']='value'; The file can be located in:
- /etc/groupoffice/config.php
- /etc/groupoffice/<APACHE SERVER_NAME>/config.php
- The Group-Office directory or any of it's parent directories.
For most users it's not necessary to edit this file though. The installer sets most values.
Config file settings lists
General settings
Name
|
Default
|
Description
|
enabled
|
true
|
Enable the Group-Office installation
|
id
|
"groupoffice"
|
Group-Office server ID
|
default_theme
|
"Default"
|
Default theme.
|
allowed_modules
|
""
|
Comma separated list of allowed modules. Leave empty to allow all modules.
|
html_editor_font
|
"font-size:13px; font-family:Arial, Helvetica, sans-serif;"
|
The font used in all HTML editor including the E-mail editor.
|
full_url
|
Auto generated
|
Full URL to reach Group-Office with slash on end. This value is determined automatically if not set in config.php.
|
host
|
"/groupoffice/"
|
Relative hostname with slash on both start and end.
|
webmaster_email
|
"webmaster@example.com"
|
The email address of the webmaster.
|
root_path
|
""
|
The path to the root of Group-Office with trailing slash.
|
tmpdir
|
"/tmp/"
|
The path to store temporary files with trailing slash.
|
quota
|
0
|
The maximum number KB this Group-Office installation may use. 0 will allow unlimited usage of disk space.
|
zlib_compress
|
true
|
Enable zlib compression for faster downloading of scripts and css
|
nav_page_size
|
"50"
|
The number of items displayed in the navigation panels (Calendars, addressbooks etc.) Don't set this number too high because it may slow the browser and server down.
|
curl_proxy
|
""
|
If you are behind a proxy you can set it here for all CURL operations Group-Office performs.
|
default_max_rows_list
|
"30"
|
The default page size of lists.
|
callto_template
|
"callto:{phone}"
|
Template of "Callto: link".
|
Look and feel settings
Name
|
Default
|
Description
|
title
|
""
|
Title of Group-Office
|
help_link
|
"http://wiki4.group-office.com/wiki/"
|
The link in menu help -> contents.
|
favicon
|
""
|
relative URL to a custom favicon file
|
custom_css_url
|
""
|
Relative URL to a custom CSS url
|
Password settings
Name
|
Default
|
Description
|
password_validate
|
true
|
Enable password validation
|
password_min_length
|
"6"
|
Minimum required password length
|
password_require_uc
|
true
|
Require an uppercase characters
|
password_require_lc
|
true
|
Require a lowercase characters
|
password_require_num
|
true
|
Require a number
|
password_require_sc
|
true
|
Require a special char
|
password_require_uniq
|
"3"
|
Required number of unique characters
|
default_password_length
|
"6"
|
Length of the password generated when a user uses the lost password option.
|
disable_security_token_check
|
false
|
Disable security check for cross domain forgeries.
|
force_ssl
|
false
|
Force an HTTPS connection in the main /index.php
|
session_inactivity_timeout
|
"0"
|
Automatically log a user out after n seconds of inactivity.
|
Localization settings list
Name
|
Default
|
Description
|
language
|
"en"
|
Default language
|
default_country
|
"NL"
|
Default country
|
default_vat
|
"21"
|
Default VAT percentage
|
default_timezone
|
"Europe/Amsterdam"
|
Default timezone
|
default_currency
|
"€"
|
Default currency
|
default_date_format
|
"dmY"
|
Default date format
|
default_date_separator
|
"-"
|
Default date separator
|
default_time_format
|
"G:i"
|
Default time format
|
default_sort_name
|
"last_name"
|
Default name formatting and sorting. Can be last_name or first_name.
|
default_first_weekday
|
"1"
|
Default first day of the week: 0=sunday 1=monday.
|
default_decimal_separator
|
","
|
Default decimal separator for numbers.
|
default_thousands_separator
|
'.'
|
Default thousands separator for numbers.
|
User settings list
Name
|
Default
|
Description
|
allow_themes
|
true
|
Enable theme switching by users
|
allow_password_change
|
true
|
Enable password changing by users
|
allow_profile_edit
|
true
|
Enable profile editing by every user through the settings dialog
|
allow_registration
|
false
|
Enable user registration by everyone
|
allow_duplicate_email
|
false
|
Allows email addresses to occur more than once over the user profiles
|
register_user_groups
|
""
|
Add self-registered users to these user groups. Group names are separated by a comma.
|
register_visible_user_groups
|
"Everyone"
|
Add self-registered users will be visible to these user groups. Group names are separated by a comma.
|
max_users
|
0
|
The maximum number of users.
|
limit_usersearch
|
0
|
If set, user queries will only return this maximum number of users. Useful in large environments where you don't want users to scroll through all.
|
User group settings list
Name
|
Default
|
Description
|
group_root
|
"1"
|
The "Administrators" user group ID
|
group_everyone
|
"2"
|
The "Everyone" user group ID
|
group_internal
|
"3"
|
The "Internal" user group ID
|
Debugging and logging settings list
Name
|
Default
|
Description
|
debug
|
false
|
Run Group-Office in debug mode. This will log much info to /home/groupoffice/log/debug.log and will use uncompressed javascripts. You can also enable this as admin in Group-Office by pressing CTRL+F7.
|
debug_log
|
false
|
Just enable the debug log. See debug.log in your Group-Office log folder.
|
log_max_days
|
14
|
Set the number of days the database log will contain until it will be dumped to a CSV file on disk. The log module must be installed.
|
firephp
|
false
|
Enable FirePhp
|
info_log
|
""
|
Info log location. This logs all logins and logouts. If empty it will be in <file_storage_path>/log/info.log. Leave empty to disable this log.
|
Database settings list
Name
|
Default
|
Description
|
db_host
|
""
|
The host of the database
|
db_name
|
""
|
The name of the database
|
db_user
|
""
|
The username to connect to the database
|
db_pass
|
""
|
The password to connect to the database
|
db_port
|
"3306"
|
Specifies the port number to attempt to connect to the MySQL server.
|
db_socket
|
""
|
Specifies the socket or named pipe that should be used.
|
db_auto_increment_increment
|
1
|
Useful in clustering mode. Set to the number of clustered nodes.
|
db_auto_increment_offset
|
1
|
Give each node an incremented number.
|
Filesystem settings
Name
|
Default
|
Description
|
file_storage_path
|
"/home/groupoffice"
|
The path to the location where the files of the file browser module are stored. This path should NEVER be inside the document root of the webserver. This directory should be writable by apache. Furthermore, choose a partition that has enough diskspace.
|
convert_utf8_filenames_to_ascii
|
false
|
Convert non ASCII characters to ASCII codes when uploaded to Group-Office. Useful for Windows servers that don't support UTF8.
|
max_file_size
|
10000000
|
The maximum file size that the file browser may upload. Note that the php.ini file must be set accordingly (http://www.php.net).
|
max_file_versions
|
3
|
Maximum number of old file versions to keep. -1 will disable versioning. 0 will keep an infinite number of versions (Be careful!).
|
file_create_mode
|
"0644"
|
The permissions mode to use when creating files
|
folder_create_mode
|
"0755"
|
The permissions mode to use when creating folders
|
file_change_group
|
""
|
Sets Group-Office files to this file system group.
|
filesearch_tesseract_lang
|
""
|
Language to use when using OCR. Install tesseract-ocr-* for the lang. eg. tesseract-ocr-nld and set this value to "nld" for dutch. Or use "nld+eng" for both Dutch and English
|
Email settings list
Name
|
Default
|
Description
|
smtp_server
|
"localhost"
|
The SMTP host to use
|
smtp_port
|
"25"
|
The SMTP port to use
|
smtp_username
|
""
|
The SMTP username for authentication (empty for no authentication)
|
smtp_password
|
""
|
The SMTP password for authentication
|
smtp_encryption
|
""
|
Leave blank or set to "tls" or "ssl"
|
smtp_local_domain
|
""
|
The Swift mailer component auto detects the domain you are connecting from. In some cases it fails and uses an invalid IPv6 IP like ::1. You can override it here.
|
swift_qp_dot_escape
|
false
|
A special Swift preference to escape dots. For some buggy SMTP servers this is necessary.
|
email_disable_aliases
|
false
|
Set to true to prevent users from changing their e-mail aliases in the email module.
|
disable_imap_capabilities
|
""
|
We stumbled upon a dovecot server that crashed when sending a command using LIST-EXTENDED. With this option we can workaround that issue.
|
restrict_smtp_hosts
|
""
|
A comma separated list of smtp server IP addresses that you want to restrict. E.g. "213.207.103.219:10,127.0.0.1:10"; will restrict those IP's to 10 e-mails per day.
|
max_attachment_size
|
10000000
|
The maximum size of e-mail attachments in bytes Group-Office will accept. Note that the php.ini file must be set accordingly (http://www.php.net).
|
External program settings
Name
|
Default
|
Description
|
cmd_zip
|
"/usr/bin/zip"
|
Command to create ZIP archive.
|
cmd_unzip
|
"/usr/bin/unzip"
|
Command to unpack ZIP archive.
|
cmd_tar
|
"/bin/tar"
|
Command to control TAR archives.
|
cmd_sudo
|
"/usr/bin/sudo"
|
Command to set system passwords. Used by passwd.users.class.inc. SUDO must be set up!
|
cmd_chpasswd
|
"/usr/sbin/chpasswd"
|
Command to SUDO.
|
cmd_xml2wbxml
|
"/usr/bin/xml2wbxml"
|
Command to convert xml to wbxml.
|
cmd_wbxml2xml
|
"/usr/bin/wbxml2xml"
|
Command to convert wbxml to bxml.
|
cmd_tnef
|
"/usr/bin/tnef"
|
Command to unpack winmail.dat files.
|
cmd_php
|
"php"
|
Command to execute the php command line interface.
|