Skip to content
Snippets Groups Projects
Commit 68674286 authored by vogelor's avatar vogelor
Browse files

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

parent 4ef1a553
No related branches found
No related tags found
No related merge requests found
...@@ -113,7 +113,7 @@ class rescue_core_module { ...@@ -113,7 +113,7 @@ class rescue_core_module {
private function _getMonitoringData() { private function _getMonitoringData() {
global $app; 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 * 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 { ...@@ -175,7 +175,7 @@ class rescue_core_module {
* so we do not have parallel access. * so we do not have parallel access.
*/ */
private function _getRescueData() { 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 * 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 { ...@@ -206,7 +206,7 @@ class rescue_core_module {
* so we do not have parallel access. * so we do not have parallel access.
*/ */
private function _saveRescueData() { 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)); file_put_contents($dataFilename, serialize($this->_rescueData));
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment