From 6867428619db14031ece087834bdefcb724c3ed4 Mon Sep 17 00:00:00 2001
From: vogelor <vogelor@ispconfig3>
Date: Tue, 29 Mar 2011 10:51:53 +0000
Subject: [PATCH] moved the temporary data of the rescue-module to the temp
 folder

---
 server/mods-available/rescue_core_module.inc.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/server/mods-available/rescue_core_module.inc.php b/server/mods-available/rescue_core_module.inc.php
index 4fcd60c78..076396531 100644
--- a/server/mods-available/rescue_core_module.inc.php
+++ b/server/mods-available/rescue_core_module.inc.php
@@ -113,7 +113,7 @@ class rescue_core_module {
 	private function _getMonitoringData() {
 		global $app;
 		
-		$dataFilename = dirname(__FILE__) . "/../lib/rescue_module_monitoringdata.ser.txt";
+		$dataFilename = dirname(__FILE__) . "/../temp/rescue_module_monitoringdata.ser.txt";
 		
 		/*
 		 * If the file containing the data is too old (older than 5 minutes) it is better to
@@ -175,7 +175,7 @@ class rescue_core_module {
 	 * so we do not have parallel access.
 	 */
 	private function _getRescueData() {
-		$dataFilename = dirname(__FILE__) . "/../lib/rescue_module_rescuedata.ser.txt";
+		$dataFilename = dirname(__FILE__) . "/../temp/rescue_module_rescuedata.ser.txt";
 
 		/*
 		 * If the file containing the data is too old (older than 5 minutes) it is better to
@@ -206,7 +206,7 @@ class rescue_core_module {
 	 * so we do not have parallel access.
 	 */
 	private function _saveRescueData() {
-		$dataFilename = dirname(__FILE__) . "/../lib/rescue_module_rescuedata.ser.txt";
+		$dataFilename = dirname(__FILE__) . "/../temp/rescue_module_rescuedata.ser.txt";
 		file_put_contents($dataFilename, serialize($this->_rescueData));
 	}
 
-- 
GitLab