/**
 ** General Horde Settings
 **/

/* The value to set error_reporting() to. Valid values are: E_ERROR,
 * E_WARNING, E_PARSE, E_NOTICE, E_CORE_ERROR, E_CORE_WARNING,
 * E_ALL. See http://www.php.net/manual/function.error-reporting.php
 * for more information.
 */
$conf['debug_level'] = E_ALL;

/* If we need to perform a long operation, what should we set
 * max_execution_time to (in seconds)? 0 means no limit; however, a
 * value of 0 will cause a warning if you are running in safe
 * mode. See http://www.php.net/manual/function.set-time-limit.php for
 * more information.
 */
$conf['max_exec_time'] = 0;

/* What name should we use for the session that Horde apps share? If
 * you want to share sessions with other applications on your
 * webserver, you will need to make sure that they are using the same
 * session name.
 */
$conf['session_name'] = 'Horde';

// What caching level should we use for the session? DO NOT CHANGE
// THIS UNLESS YOU _REALLY_ KNOW WHAT YOU ARE DOING. Setting this to
// anything other than 'nocache' will almost certainly result in
// severely broken script behavior.
$conf['cache_limiter'] = 'nocache';

// How long should sessions last? 0 means that the session ends when
// the user closes their browser. Set other values with care - see
// http://www.php.net/manual/en/function.session-set-cookie-params.php.
$conf['session_timeout'] = 0;

/* Determines how we generate full URLs (for location headers and
 * such). Possible values are:
 *   0 - Assume that we are not using SSL and never generate https URLS.
 *   1 - Assume that we are using SSL and always generate https URLS.
 *   2 - Attempt to auto-detect, and generate URLs appropriately.
 */
$conf['use_ssl'] = 2;

/* If this option is set to true, and you have the php zlib extension,
 * pages over a certain size will be compressed and sent to the
 * browser as gzip-encoded data in order to save bandwidth. There is a
 * CPU-usage penalty to pay for this, but the decrease in page size
 * can be dramatic (70k to under 10k for a full mailbox page), and is
 * more than worth it over anything but an extremely fast link.
 */
$conf['compress_pages'] = true;

/* What umask should we run with? This will affect the permissions on
 * any temporary files that are created. This value is an integer
 * (specify it WITHOUT quotes).
 */
$conf['umask'] = 077;

/* If you want to use a temporary directory other than the system
 * default or the one specified in php's upload_tmp_dir value, enter
 * it here.
 */
$conf['tmpdir'] = null;

