diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2005-10-16 07:41:55 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2005-10-16 07:41:55 +0000 |
commit | 40a3261d1a6e2617f6afde0cd6d762a7e211af7a (patch) | |
tree | d70bbf882801af3a4e58dde3ed6a1da1849479d4 /net-mgmt/cacti/files/patch-include-config.php | |
parent | a9f801a2186fcb89f70f7dcb211c6d4922c0e3af (diff) |
Notes
Diffstat (limited to 'net-mgmt/cacti/files/patch-include-config.php')
-rw-r--r-- | net-mgmt/cacti/files/patch-include-config.php | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/net-mgmt/cacti/files/patch-include-config.php b/net-mgmt/cacti/files/patch-include-config.php deleted file mode 100644 index d79c0d4e20c8..000000000000 --- a/net-mgmt/cacti/files/patch-include-config.php +++ /dev/null @@ -1,26 +0,0 @@ ---- include/config.php.orig Tue Jun 21 04:46:46 2005 -+++ include/config.php Tue Jun 21 16:27:29 2005 -@@ -24,13 +24,6 @@ - +-------------------------------------------------------------------------+ - */ - --/* make sure these values refect your actual database/host/user/password */ --$database_type = "mysql"; --$database_default = "cacti"; --$database_hostname = "localhost"; --$database_username = "cactiuser"; --$database_password = "cactiuser"; -- - /* ----- you probably do not need to change anything below this line ----- */ - $config = array(); - -@@ -44,6 +37,9 @@ - $config["base_path"] = ereg_replace("(.*)[\/\\]include", "\\1", dirname(__FILE__)); - $config["library_path"] = ereg_replace("(.*[\/\\])include", "\\1lib", dirname(__FILE__)); - $config["include_path"] = dirname(__FILE__); -+ -+/* load user defined DB settings */ -+include($config["include_path"] . "/db-settings.php"); - - /* colors */ - $colors["dark_outline"] = "454E53"; |