Files
cacti/include/config.php.dist
T
Ian Berry c369628fae default database -> cacti
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1001 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-05-30 03:54:24 +00:00

71 lines
2.9 KiB
Plaintext

<?php
/*
+-------------------------------------------------------------------------+
| Copyright (C) 2003 Ian Berry |
| |
| This program is free software; you can redistribute it and/or |
| modify it under the terms of the GNU General Public License |
| as published by the Free Software Foundation; either version 2 |
| of the License, or (at your option) any later version. |
| |
| This program is distributed in the hope that it will be useful, |
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| GNU General Public License for more details. |
+-------------------------------------------------------------------------+
| cacti: a php-based graphing solution |
+-------------------------------------------------------------------------+
| Most of this code has been designed, written and is maintained by |
| Ian Berry. See about.php for specific developer credit. Any questions |
| or comments regarding this code should be directed to: |
| - iberry@raxnet.net |
+-------------------------------------------------------------------------+
| - raXnet - http://www.raxnet.net/ |
+-------------------------------------------------------------------------+
*/
/* make sure these values refect your acual database/host/user/password */
$database_type = "mysql";
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cactiuser";
$database_password = "cactiuser";
/* make sure this variable reflects your operating system type: 'unix' or 'win32' */
$config["cacti_server_os"] = "unix";
/* built-in snmp support */
$config["php_snmp_support"] = function_exists("snmpget");
/* used for includes */
$config["include_path"] = dirname(__FILE__);
/* colors */
$colors["dark_outline"] = "454E53";
$colors["dark_bar"] = "AEB4B7";
$colors["panel"] = "E5E5E5";
$colors["panel_text"] = "000000";
$colors["panel_link"] = "000000";
$colors["light"] = "F5F5F5";
$colors["alternate"] = "E7E9F2";
$colors["panel_dark"] = "C5C5C5";
$colors["header"] = "00438C";
$colors["header_panel"] = "6d88ad";
$colors["header_text"] = "ffffff";
$colors["form_background_dark"] = "E1E1E1";
$colors["form_alternate1"] = "F5F5F5";
$colors["form_alternate2"] = "E5E5E5";
/* display ALL errors */
error_reporting(E_ALL);
include_once($config["include_path"] . "/functions.php");
include_once($config["include_path"] . "/database.php");
/* current cacti version */
$config["cacti_version"] = "0.8";
?>