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.
APP_NAME (streber)π
Used in the HTML <title> and in the first message after login (see below).
MESSAGE_WELCOME_HOME (Welcome to Streber)π
First message after login. (This settings is obsolete. In recent versions of streber the message is always a localized version of "Welcome to %APP_NAME%")
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.
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.