Commit 68674286 authored by vogelor's avatar vogelor

moved the temporary data of the rescue-module to the temp folder

parent 4ef1a553
......@@ -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));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment