Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
lolo888
ISPConfig 3
Commits
68674286
Commit
68674286
authored
Mar 29, 2011
by
vogelor
Browse files
moved the temporary data of the rescue-module to the temp folder
parent
4ef1a553
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/mods-available/rescue_core_module.inc.php
View file @
68674286
...
...
@@ -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
));
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment