Skip to content

Commit 6867428

Browse files
author
vogelor
committed
moved the temporary data of the rescue-module to the temp folder
1 parent 4ef1a55 commit 6867428

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

server/mods-available/rescue_core_module.inc.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ private function _doRescue() {
113113
private function _getMonitoringData() {
114114
global $app;
115115

116-
$dataFilename = dirname(__FILE__) . "/../lib/rescue_module_monitoringdata.ser.txt";
116+
$dataFilename = dirname(__FILE__) . "/../temp/rescue_module_monitoringdata.ser.txt";
117117

118118
/*
119119
* If the file containing the data is too old (older than 5 minutes) it is better to
@@ -175,7 +175,7 @@ private function _getMonitoringData() {
175175
* so we do not have parallel access.
176176
*/
177177
private function _getRescueData() {
178-
$dataFilename = dirname(__FILE__) . "/../lib/rescue_module_rescuedata.ser.txt";
178+
$dataFilename = dirname(__FILE__) . "/../temp/rescue_module_rescuedata.ser.txt";
179179

180180
/*
181181
* If the file containing the data is too old (older than 5 minutes) it is better to
@@ -206,7 +206,7 @@ private function _getRescueData() {
206206
* so we do not have parallel access.
207207
*/
208208
private function _saveRescueData() {
209-
$dataFilename = dirname(__FILE__) . "/../lib/rescue_module_rescuedata.ser.txt";
209+
$dataFilename = dirname(__FILE__) . "/../temp/rescue_module_rescuedata.ser.txt";
210210
file_put_contents($dataFilename, serialize($this->_rescueData));
211211
}
212212

0 commit comments

Comments
 (0)