summaryrefslogtreecommitdiff
path: root/cacti-1.2.x-csrf-secret.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-11-25 12:25:55 +0000
committerCoprDistGit <infra@openeuler.org>2024-11-25 12:25:55 +0000
commit1f0e60eceb85acab3154dfd2df19eee1ce14d359 (patch)
treec4a677f8bb1050dc20bc7d98d21b4e4ea888c08a /cacti-1.2.x-csrf-secret.patch
parent15e49492f3a764d7b2f947eabed89605897e2b7b (diff)
automatic import of cacti
Diffstat (limited to 'cacti-1.2.x-csrf-secret.patch')
-rw-r--r--cacti-1.2.x-csrf-secret.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/cacti-1.2.x-csrf-secret.patch b/cacti-1.2.x-csrf-secret.patch
new file mode 100644
index 0000000..993ccd5
--- /dev/null
+++ b/cacti-1.2.x-csrf-secret.patch
@@ -0,0 +1,11 @@
+--- cacti-1.2.23/include/config.php.dist.orig 2023-01-02 15:47:02.000000000 +0100
++++ cacti-1.2.23/include/config.php.dist 2023-01-04 10:36:19.834958775 +0100
+@@ -131,7 +131,7 @@ $disable_log_rotation = false;
+ * the CRSF secret file.
+ */
+
+-//$path_csrf_secret = '/usr/share/cacti/resource/csrf-secret.php';
++$path_csrf_secret = '/var/lib/cacti/csrf/csrf-secret.php';
+
+ /**
+ * The following are optional variables for debugging low level system