X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Fconfig.php.dist;h=00469da587096bba158ae3d49bd952e5b820da15;hb=16cbd33bec16854f1b6a4caf4ac24ededc8326f3;hp=dd66f5e02458c2ec6954786da3d77308ef952955;hpb=3334a1d8a3cc149e014b84b6e46ee9d70fac6663;p=timetracker.git diff --git a/WEB-INF/config.php.dist b/WEB-INF/config.php.dist index dd66f5e0..00469da5 100644 --- a/WEB-INF/config.php.dist +++ b/WEB-INF/config.php.dist @@ -110,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. @@ -212,8 +221,17 @@ define('AUTH_MODULE', 'db'); // '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. -// task window height in time.php -define('NOTE_INPUT_HEIGHT', '40'); \ No newline at end of file + +// 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);