array("config" => "/etc/di/database/di_zkl", // database configuration file "host" => "localhost", // default database settings "db" => "di_zkl", "user" => "dualinventive", "passwd" => "JanLex"), "report" => array("config" => "/etc/di/database/di_zkl_rapportage", // database configuration file "host" => "localhost", // default report database settings "db" => "di_zkl_rapportage", "user" => "dualinventive", "passwd" => "JanLex"), "archive" => array("config" => "/etc/di/database/di_zkl_archief", // database configuration file "host" => "localhost", // default archive database settings "db" => "di_zkl_archief", "user" => "dualinventive", "passwd" => "JanLex"), "restore" => array("config" => "/etc/di/database/di_zkl_restore", // database configuration file "host" => "localhost", // default "restore" database settings "db" => "di_zkl_restore", "user" => "dualinventive", "passwd" => "JanLex")); define("ARCHIVE_OLDER_DAYS", 40); // Remove all entries older than 30 days define("CHECK_RC", !$_PAGE_INFO['mtinfo-dev']); // Check release candidates? not for a testing/development environment define("LOGIN_MAX", 50); // Max login attempts /* * Secure certificate */ define("CERT" ,"/home/dualinventive/src/mtinfo/cert/private/mtinfo.key"); define("CERT_PASSPHRASE" ,"MTinfo"); /* * Task manager */ define("TSKMGR" ,1); // Enable Task manager which handles all checking tasks and periodic reports /* * Timeouts */ define("TCP_TIMEOUT" ,3); // TCP server timeout (seconds) define("PM_TIMEOUT" ,300); // Power management timeout (seconds) define("WTDG_TIMEOUT" ,1200); // Watchdog timeout (seconds) /* * Upload file size */ define("MAX_FILE_SIZE" ,8388608); // 8 Megabyte /* * links */ define("TIME_ZONE_FILE" ,"/usr/share/zoneinfo/zone.tab"); define("GOOGLE_MAPS" ,"http://maps.google.nl/"); /* * Colors */ $_COLORS = array('service' => "blue", 'd_assigned_project' => "#F28424", 'rented' => "#007f00", 'inactive' => "#05fff7", 'ok' => "green", 'nok' => "red", 'unread' => "#F28424"); /* * Debug/log definitions */ define("LOG_SC" ,1); // Debug secure server (all message to syslog) define("LOG_RS" ,1); // Debug RS3000 communication (all RS3000 messages to syslog) define("LOG_ALARM" ,0); // Debug alarm numbers (retrieve all when using SYNCDB) define("LOG_HREF_HISTORY" ,0); // Debug browser pages define("LOG_SQL_HISTORY" ,0); // Debug mysql queries define("LOG" ,1); // Enable/Disable log functionality ?>