'pink', // 'displayName' => _('Pink'), // 'base' => '#ff0099' // ) // ))); // Additional categories can be added by uncommenting and editing the following define. // The format is the same as the format of DEFAULT_CATEGORIES which is defined in default.php // To change the default categories, DEFAULT_CATEGORIES can also be defined here. // Note: Every category should have a unique name, because it is used to identify the category // define("ADDITIONAL_CATEGORIES", json_encode(array( // array( // 'name' => _('Family'), // 'color' => '#000000', // 'quickAccess' => true, // 'sortIndex' => 10 // ) // ))); // Additional Prefix for the Contact name can be added by uncommenting and editing the following define. // define("CONTACT_PREFIX", json_encode(array( // array(_('Er.')), // array(_('Gr.')) // ))); // Additional Suffix for the Contact name can be added by uncommenting and editing the following define. // define("CONTACT_SUFFIX", json_encode(array( // array(_('A')), // array(_('B')) // ))); // The grommunio admin API endpoint define('ADMIN_API_ENDPOINT', 'http://[::1]:8080/api/v1/'); // The grommunio admin API status endpoint define('ADMIN_API_STATUS_ENDPOINT', ADMIN_API_ENDPOINT . 'status'); // The grommunio admin API disabled plugins endpoint define('ADMIN_API_DISABLEDPLUGINS_ENDPOINT', ADMIN_API_ENDPOINT . 'disabledPluginsOfUser?username='); // How long the disabled plugins answer of the admin API is cached for a // session, in seconds. A change an administrator makes takes at most this // long to reach a user who is already logged on. define('ADMIN_API_DISABLEDPLUGINS_CACHE_TIME', 300); // How long to wait before asking again when the admin API could not be // read, in seconds. define('ADMIN_API_DISABLEDPLUGINS_RETRY_TIME', 30); // How long to wait for an answer of the admin API, in seconds. define('ADMIN_API_TIMEOUT', 2); // Whether to show the Logout button in grommunio-web (true or false). // Show per default. define('SHOW_LOGOUT_BUTTON', true); /**************************************\ * Memory usage and timeouts * \**************************************/ // This sets the maximum time in seconds that is allowed to run before it is terminated by the parser. ini_set("max_execution_time", 300); // 5 minutes // BLOCK_SIZE (in bytes) is used for attachments by mapi_stream_read/mapi_stream_write define("BLOCK_SIZE", 1048576); // Time that static files may exist in the client's cache (13 weeks) define("EXPIRES_TIME", 60*60*24*7*13); // Messages a mailbox may submit per minute. Sending is one click, so this only // ever stops a script replaying the request; 0 turns the limit off. define("MAX_SUBMITS_PER_MINUTE", 20); /********************************************************************************** * Logging settings * * Possible LOG_USER_LEVEL values are: * LOGLEVEL_OFF - no logging * LOGLEVEL_FATAL - log only critical errors * LOGLEVEL_ERROR - logs events which might require corrective actions * LOGLEVEL_WARN - might lead to an error or require corrective actions in the future * LOGLEVEL_INFO - usually completed actions * LOGLEVEL_DEBUG - debugging information, typically only meaningful to developers * * The verbosity increases from top to bottom. More verbose levels include less verbose * ones, e.g. setting to LOGLEVEL_DEBUG will also output LOGLEVEL_FATAL, LOGLEVEL_ERROR, * LOGLEVEL_WARN and LOGLEVEL_INFO level entries. * **************************************************************************************/ // Overrides defaults.php define("LOG_USER_LEVEL", LOGLEVEL_DEBUG); // Uncomment to log detailed full-text search diagnostics to the PHP error log. //define("DEBUG_FULLTEXT_SEARCH", true); /**************************************\ * Languages * \**************************************/ // Location to the translations define("LANGUAGE_DIR", "server/language/"); // Defines the default interface language. This can be overridden by the user. // The required syntax is an XPG locale identifier. // The charset does not matter. g-web will switch to UTF-8 internally. if (isset($_ENV['LANG']) && $_ENV['LANG']!="C") { define('LANG', $_ENV["LANG"]); // This means the server environment language determines the web client language. } else { define('LANG', 'en_US.UTF-8'); // default fallback language } // Defines the default time zone if (!ini_get('date.timezone')) { date_default_timezone_set('Europe/Vienna'); } /**************************************\ * Debugging * \**************************************/ // Do not log errors into stdout, since this generates faulty JSON responses. ini_set("display_errors", false); ini_set("log_errors", true); error_reporting(E_ERROR); if (file_exists('debug.php')){ include_once('debug.php'); }else{ // define empty dump function in case we still use it somewhere function dump(){} } ?>