<?php
define('idDiGIR_localconfig_dist','$Id: localconfig_dist.php,v 1.3 2003/05/06 20:33:23 vieglais Exp $');
if (defined('idDIGIR_VERSION_REQUEST'))
    return;

/**
* This file contains elements that may need to be adjusted to work with your
* particular installation.
*
* Default values that *should* work for an unmodified installation are
* set in DiGIR_globals.php.
*
* To change a value, uncomment the line (i.e. remove the // from the start
* of the line, and set the value accordingly.  Note that this is a PHP
* script file, so edits you make must be valid PHP.  Also make sure you do
* not accidentally insert any trailing spaces or lines at the end of the 
* document after the closing ">"
*/

// SECURITY RELATED SETTINGS

/**
* DIGIR_ALLOWDEBUG: This option should be set to FALSE.
*/
define('DIGIR_ALLOWDEBUG',FALSE);

/**
* DIGIR_ALLOW_CONFIG_DUMP: This option should be set to FALSE.
*/
define('DIGIR_ALLOW_CONFIG_DUMP',FALSE);

// PERFORMANCE RELATED SETTINGS

/**
* DIGIR_MAX_RUNTIME: Sets the maximum runtime of the script in seconds.
*/
define('DIGIR_MAX_RUNTIME',120);

/**
* Use cache? TRUE or FALSE
*/
define('DIGIR_USE_CACHE',TRUE);

/**
* Number of seconds that cached metadata will be used before forcing an 
* update. Default is one day (86400 seconds)
*/
define('DIGIR_METADATA_CACHE_LIFE_SECS',86400);

/**
* Number of seconds a downloaded record format definition is cached before 
* checking for a new version. Default is one day (86400 seconds)
*/
define('DIGIR_FORMAT_CACHE_LIFE_SECS',86400);

/**
* Number of seconds that a search response will remain in the cache. 
* Default duration is zero, which turns off resultset caching.
*/
define('DIGIR_RESULTSET_CACHE_LIFE_SECS',3600);

/**
* Number of seconds that an inventory response will remain in the cache.
* Default is one hour (3600 seconds)
*/
define('DIGIR_INVENTORY_CACHE_LIFE_SECS',3600);

/**
* Log level.  Valid values for this are (use the numeric form only)
* 0 = PEAR_LOG_EMERG = minimal logging information
* 1 = PEAR_LOG_ALERT
* 2 = PEAR_LOG_CRIT
* 3 = PEAR_LOG_ERR
* 4 = PEAR_LOG_WARNING
* 5 = PEAR_LOG_NOTICE
* 6 = PEAR_LOG_INFO (*recommended for stable installations*)
* 7 = PEAR_LOG_DEBUG (*default*)
*/
define('DIGIRLOG_LEVEL',6);

/**
* If the provider is running under a very high load (hundreds - thouseans of 
* requests per hour), then you should set this value smaller than the default 
* of 3600 (= one hour).
*/
define('DIGIR_STATUSINTERVAL',600);

/** 
* Searches on text fields regarding case sensitivity
* Note that for databases that are not case sensitive you should set this
* TRUE.  If your database does do case sensitive searches (such as Oracle or
* MSSQLServer when so configured), then leaving this TRUE means that strings will
* be compared with case-senstive matching.  Setting FALSE will convert strings
* to lower case before comparison.
*/
//define('DIGIR_CASE_SENSITIVE_SEARCH', TRUE);

/**
* Tell DiGIR not to load the mb_string (multibyte string) library.
* Uncommenting this will cause DiGIR to operate on the assumption that all
* strings are simple, 7bit ASCII.  Any extended characters will cause the
* generation of invalid XML, so do this with caution.
* You should only do this if you can not load the mb_string library and/or
* you are certain your metadata and data will only contain 7 bit characters.
*/
//define('DIGIR_USE_MBSTRING',FALSE);

/**
* Important: Make sure that there are no extra lines or spaces after the >
*/
?>
