cacti/cacti-0.8.8-default-url-path.patch

27 lines
965 B
Diff
Raw Normal View History

diff --git a/cacti/branches/0.8.8/include/config.php.dist b/cacti/branches/0.8.8/include/config.php.dist
index fa59eef..20c1929 100644
--- a/cacti/branches/0.8.8/include/config.php.dist
+++ b/cacti/branches/0.8.8/include/config.php
@@ -36,7 +36,7 @@ $database_ssl = false;
ex: if your cacti install as at http://serverip/cacti/ this
would be set to /cacti/
*/
-//$url_path = "/";
+//$url_path = "/cacti/";
/* Default session name - Session name must contain alpha characters */
//$cacti_session_name = "Cacti";
diff --git a/cacti/branches/0.8.8/include/global.php b/cacti/branches/0.8.8/include/global.php
index 4e3bdbb..e41515d 100644
--- a/cacti/branches/0.8.8/include/global.php
+++ b/cacti/branches/0.8.8/include/global.php
@@ -43,7 +43,7 @@ $database_ssl = false;
$cacti_session_name = "Cacti";
/* define default url path */
-$url_path = "/";
+$url_path = "/cacti/";
/* Include configuration */
include(dirname(__FILE__) . "/config.php");