X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Fconfig.php.dist;h=fed4eea59a393285170e871b8038311f6bdb035b;hb=6cf752f6b395625a732fa9009455aef292cb721d;hp=25ba2c0d36f5620d98032b7852dcad1b77467e5b;hpb=029e1daa627ad332edd64bba79f5415fcaf1407d;p=timetracker.git diff --git a/WEB-INF/config.php.dist b/WEB-INF/config.php.dist index 25ba2c0d..fed4eea5 100644 --- a/WEB-INF/config.php.dist +++ b/WEB-INF/config.php.dist @@ -86,11 +86,17 @@ define('COST_ON_REPORTS', true); // // 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. @@ -104,6 +110,15 @@ 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 +// Local file system path for PHP sessions. Use it to isolate session deletions +// (garbage collection interference) by other PHP scripts potentially running on the system. +// define('PHP_SESSION_PATH', '/tmp/timetracker'); // Directory must exist and be writable. // Forum and help links from the main menu. @@ -168,7 +183,7 @@ define('LANG_DEFAULT', ''); define('CURRENCY_DEFAULT', '$'); -// EXPORT_DECIMAL_DURATION - defines whether time duration values are decimal in CSV and XML data exports (1.25 vs 1:15). +// EXPORT_DECIMAL_DURATION - defines whether time duration values are decimal in CSV and XML data exports (1.25 or 1,25 vs 1:15). // define('EXPORT_DECIMAL_DURATION', true); @@ -190,7 +205,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. @@ -201,10 +216,22 @@ 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. // 'member_of' => array()); // List of groups, membership in which is required for user to be authenticated. + // Leave it empty if membership is not necessary. Otherwise list CN parts only. + // For example: + // 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. + + +// Team managers can set monthly work hour quota for years between the following values. +// define('MONTHLY_QUOTA_YEAR_START', 2010); // If nothing is specified, it falls back to 2015. +// define('MONTHLY_QUOTA_YEAR_END', 2025); // If nothing is specified, it falls back to 2030. + +// Height in pixels for the note input field in time.php. Defaults to 40. +// define('NOTE_INPUT_HEIGHT', 100);