X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Fconfig.php.dist;h=577baeafbf3b750bb6543f2dc6eeca64a6264754;hb=bbea8c35f79ef9699e4b6deab0be3c1108628ef0;hp=3cfbb07b353bed77907853a8b709cc6168a97ee8;hpb=155381237a76f93a5a84999082261d3728232ea2;p=timetracker.git diff --git a/WEB-INF/config.php.dist b/WEB-INF/config.php.dist index 3cfbb07b..577baeaf 100644 --- a/WEB-INF/config.php.dist +++ b/WEB-INF/config.php.dist @@ -37,16 +37,15 @@ set_include_path(realpath(dirname(__FILE__).'/lib/pear') . PATH_SEPARATOR . get_ // CHANGE 3 PARAMETERS HERE! // In this example: "root" is username, "no" is password, "dbname" is database name. // -define('DSN', 'mysqli://root:no@localhost/dbname?charset=utf8'); +define('DSN', 'mysqli://root:no@localhost/dbname?charset=utf8mb4'); // Do NOT change charset unless you upgraded from an older Time Tracker where charset was NOT specified // and now you see some corrupted characters. See http://dev.mysql.com/doc/refman/5.0/en/charset-mysql.html -// MULTITEAM_MODE option defines whether users can create their own teams. +// MULTITEAM_MODE option defines whether users can create their own top groups (organizations). +// When false, a Time Tracker server is managed by admin, who creates top groups (one or many). // // Available values are true or false. -// If true users can create their own teams. -// If false only admin can create teams. // define('MULTITEAM_MODE', true); @@ -60,43 +59,6 @@ define('MULTITEAM_MODE', true); define('APP_NAME', ''); -// OLD_PASSWORDS -// -// You may need to set this option if you migrate an older version of TT installation to a new server. -// Older versions of TT used mysql password function to hash user passwords. Newer versions use md5. -// Because the password function may behave differently between servers, the OLD_PASSWORD settings -// gives you an opportunity to control it, if needed. -// -// define('OLD_PASSWORDS', true); - - -// Holidays. At this time holiday days are defined in the localization files (one file per language). -// The SHOW_HOLIDAYS option defines whether holidays are highlighted with holiday color. -// -define('SHOW_HOLIDAYS', true); - - -// COST_ON_REPORTS - defines the availability of the Cost field on the Reports page. -// -define('COST_ON_REPORTS', true); - - -// READONLY_START_FINISH - defines whether the start and finish fields on time entry pages are read-only. -// This applies to regular users only. Manager and co-managers can edit these values. -// -// define('READONLY_START_FINISH', false); - - -// FUTURE_ENTRIES - defines whether users can create entries for future dates. Defaults to true. -// -// define('FUTURE_ENTRIES', false); - - -// ALLOW_OVERLAP - defines whether overlapping time entries are allowed. Defaults to false. -// -// define('ALLOW_OVERLAP', true); - - // WEEKEND_START_DAY // // This option defines which days are highlighted with weekend color. @@ -110,6 +72,9 @@ define('WEEKEND_START_DAY', 6); // Lifetime in seconds for tt_PHPSESSID cookie. Time to live is extended by this value // with each visit to the site so that users don't have to re-login. // define('PHPSESSID_TTL', 86400); +// +// Note: see also PHP_SESSION_PATH below as you may have to use it together with +// PHPSESSID_TTL to avoid premature session expirations. // PHP_SESSION_PATH @@ -202,7 +167,7 @@ define('AUTH_MODULE', 'db'); // Configuration example for OpenLDAP server: // define('AUTH_MODULE', 'ldap'); // $GLOBALS['AUTH_MODULE_PARAMS'] = array( -// 'server' => '127.0.0.1', // OpenLDAP server address or name. +// 'server' => '127.0.0.1', // OpenLDAP server address or name. For secure LDAP use ldaps://hostname:port here. // 'type' => 'openldap', // Type of server. openldap type should also work with Sun Directory Server when member_of is empty. // It may work with other (non Windows AD) LDAP servers. For Windows AD use the 'ad' type. // 'base_dn' => 'ou=People,dc=example,dc=com', // Base distinguished name in LDAP catalog. @@ -213,7 +178,7 @@ define('AUTH_MODULE', 'db'); // Configuration example for Windows domains with Active Directory: // define('AUTH_MODULE', 'ldap'); // $GLOBALS['AUTH_MODULE_PARAMS'] = array( -// 'server' => '127.0.0.1', // Domain controller IP address or name. +// 'server' => '127.0.0.1', // Domain controller IP address or name. For secure LDAP use ldaps://hostname:port here. // 'type' => 'ad', // Type of server. // 'base_dn' => 'DC=example,DC=com', // Base distinguished name in LDAP catalog. // 'default_domain' => 'example.com', // Default domain. @@ -223,7 +188,7 @@ define('AUTH_MODULE', 'db'); // array('Ldap Testers') means that the user must be a member Ldap Testers group. // array('Ldap Testers', 'Ldap Users') means the user must be a member of both Ldap Testers and Ldap Users groups. -// define('AUTH_DEBUG', false); // Note: enabling AUTH_DEBUG breaks redirects as debug output is printed before setting redirect header. Do not enable on production systems. +// define('DEBUG', false); // Note: enabling DEBUG breaks redirects as debug output is printed before setting redirect header. Do not enable on production systems. // Team managers can set monthly work hour quota for years between the following values. @@ -232,3 +197,12 @@ define('AUTH_MODULE', 'db'); // Height in pixels for the note input field in time.php. Defaults to 40. // define('NOTE_INPUT_HEIGHT', 100); + +// File storage facility location for attachments. +// This feature requires a subscription or a locally installed appliance. +// define('FILE_STORAGE_URI', 'localhost'); +define('FILE_STORAGE_URI', 'https://www.anuko.com/files/'); + +// A comma-separated list of default plugins for new group registrations. +// Example below enables charts and attachments. +// define('DEFAULT_PLUGINS', 'ch,at');