Details on important configuration variables and how to use them
Many aspects of Streber can be customized by configuration variables which can be set by adding them to the file
customize.inc.php:
from customize.inc.php
confChange('USE_MOD_REWRITE', true);
Some more important setup variables are already listed as comments in the file
customize.inc.php. You might want to scan through
conf/conf.inc.php, for a complete list and more details or advanced settings.
Following is a selection of the more useful ones:
Useful visual settings
Default values are given in brackets.
DEFAULT_LANGUAGE (en)
Without changing this setting, the login mask will stay English, even if all users are working in French.
THEME_DEFAULT (0)
Number in the theme list defined further down in conf/conf.inc.php. As with DEFAULT_LANGUAGE you will need this setting to adjust the look of the login form.
APP_TITLE_HEADER (Streber pm)
When using Streber as intra or extra net, you might want to change this setting.
MESSAGE_WELCOME_HOME (Welcome to Streber)
First message after login.
MESSAGE_WELCOME_ONEPROJECT (Hello XYZ. Welcome to project XYZ)
Message after login, if user has only one project (very likely for clients).
LINK_STAR_LIGHT (false)
Starlight is a very cool Syntax highlighter for
Wiki code blocks. It only works with Ghecko (Firefox) and probably decreases download time.
Internal
DB_USE_UTF8_ENCODING (true)
In some situations (when upgrading with mysql4) you might have to disable this options to avoid invalid display of characters.
DISPLAY_ERROR_FULL (false)
Display error-output, which would have been written to error.log as html.
This might corrupt the html-structure and reveal internal information to user,
should only be used for development.
DISPLAY_ERROR_LIST (LIST)
Lists occured errors in footer of non-admin users. Details are always written to 'errors.log'
- NONE - don't output anything
- LIST - list messages only (default)
- DETAILS - also show file / line-number
LOG_LEVEL (some)
How much is written to _tmp/errors.log.php. You can view and clear this file in System info. See conf/defines.inc.php for all possible optios.
A good option might be LOG_MESSAGE_ALL, but this can quickly increase the log file to several mega byte.
PROJECT_DEFAULT_LABELS (Bug, Feature, ...)
Customize this labels for new projects.
FILE_UPLOAD_SIZE_MAX (8000000)
Maxium filesize for uploads (in bytes)
NOTE: you also have to adjust your php.ini settings for post_max_size and upload_max_filesize.
CHECK_IP_ADDRESS (true)
The default settings will require you to login on each different computer. This is probably too much of security for you.