'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')) // ))); // Define the polling interval in minutes for unread mail in shared stores. define("SHARED_STORE_POLLING_INTERVAL", 15); // Define the amount of emails to load in the background, in batches of 10 emails per request every x seconds // defined by PREFETCH_EMAIL_INTERVAL until the defined amount of items is loaded. Setting this value to zero // disables this feature. define("PREFETCH_EMAIL_COUNT", 10); // Define the interval between loading of new emails in the background. define("PREFETCH_EMAIL_INTERVAL", 30); /**************************************\ * 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); // Time that the state files are allowed to survive (in seconds) // For filesystems on which relatime is used, this value should be larger then the relatime_interval // for kernels 2.6.30 and above relatime is enabled by default, and the relatime_interval is set to // 24 hours. define("STATE_FILE_MAX_LIFETIME", 28*60*60); // Time that attachments are allowed to survive (in seconds) define("UPLOADED_ATTACHMENT_MAX_LIFETIME", 6*60*60); /********************************************************************************** * 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. * **************************************************************************************/ define("LOG_USER_LEVEL", LOGLEVEL_INFO); // To save e.g. user activity data only for selected users, provide the username followed by semicolon. // The data will be saved into a dedicated file per user in the LOG_FILE_DIR // Users have to be encapsulated in quotes, several users are semicolon separated, like: // define('LOG_USERS', 'user1;user2;user3'); define("LOG_USERS", ""); // Location of the log directory // e.g /var/log/webapp-userslog/users/ // The directory will be created when it does not exist. // Webserver user should have permissions to write in this folder define("LOG_FILE_DIR", ""); /**************************************\ * Languages * \**************************************/ // Location to the translations define("LANGUAGE_DIR", "server/language/"); // Defines the default interface language. This can be overridden by the user. 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 } // List of languages that should be enabled in the logon // screen's language drop down. Languages should be specified // using _[.UTF-8], and separated with // semicolon. A list of available languages can be found in // the manual or by looking at the list of directories in // /usr/share/kopano-webapp/server/language . define("ENABLED_LANGUAGES", "cs_CZ;da_DK;de_DE;en_GB;en_US;es_CA;es_ES;fi_FI;fr_FR;hu_HU;it_IT;ja_JP;nb_NO;nl_NL;pl_PL;pt_BR;ru_RU;sl_SI;tr_TR;zh_CN"); // Defines the default time zone if (!ini_get('date.timezone')) { date_default_timezone_set('Europe/Berlin'); } /**************************************\ * Powerpaste * \**************************************/ // Options for TinyMCE's powerpaste plugin, see https://www.tiny.cloud/docs/plugins/powerpaste/#configurationoptions // for more details. define("POWERPASTE_WORD_IMPORT", "merge"); define("POWERPASTE_HTML_IMPORT", "merge"); define("POWERPASTE_ALLOW_LOCAL_IMAGES", true); /**************************************\ * 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); // Log successful logins define("LOG_SUCCESSFUL_LOGINS", false); if (file_exists('debug.php')) { include_once('debug.php'); } else { // define empty dump function in case we still use it somewhere function dump(){} } ?>