Module: check_mk
Branch: master
Commit: 8e43fe31e9a2f21de83db754107c0fee918e6e13
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8e43fe31e9a2f2…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Jun 2 15:56:51 2015 +0200
#2261 FIX Fixed wrong pnp template cache path in non OMD environments
Previous versions used /temp/check_mk_pnp_template_cache which was working,
but not intended. The path has been changed to /tmp/check_mk_pnp_template_cache
now. You can savely delete the old directory.
This only affects manual installations of Check_MK.
---
.werks/2261 | 13 +++++++++++++
ChangeLog | 1 +
pnp-templates/default.php | 2 +-
3 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/.werks/2261 b/.werks/2261
new file mode 100644
index 0000000..6022e7d
--- /dev/null
+++ b/.werks/2261
@@ -0,0 +1,13 @@
+Title: Fixed wrong pnp template cache path in non OMD environments
+Level: 1
+Component: multisite
+Compatible: compat
+Version: 1.2.7i2
+Date: 1433253304
+Class: fix
+
+Previous versions used /temp/check_mk_pnp_template_cache which was working,
+but not intended. The path has been changed to /tmp/check_mk_pnp_template_cache
+now. You can savely delete the old directory.
+
+This only affects manual installations of Check_MK.
diff --git a/ChangeLog b/ChangeLog
index 0939a4e..6265ae6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,7 @@
Multisite:
* 2260 Improved load time of Check_MK GUI...
* 2324 FIX: Add icon for those checks that cannot be rescheduled...
+ * 2261 FIX: Fixed wrong pnp template cache path in non OMD environments...
1.2.7i1:
diff --git a/pnp-templates/default.php b/pnp-templates/default.php
index 3c67728..384c3f2 100644
--- a/pnp-templates/default.php
+++ b/pnp-templates/default.php
@@ -9,7 +9,7 @@ if ($omd_site) {
}
else {
$url = "http://localhost/check_mk/";
- $template_cache_dir = "/temp/check_mk_pnp_template_cache";
+ $template_cache_dir = "/tmp/check_mk_pnp_template_cache";
}
if (!file_exists($template_cache_dir))