Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
lolo888
ISPConfig 3
Commits
60bd070e
Commit
60bd070e
authored
Jul 12, 2010
by
tbrehm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a bug in cron_daily.php.
parent
f6497b5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
server/cron_daily.php
server/cron_daily.php
+1
-1
No files found.
server/cron_daily.php
View file @
60bd070e
...
...
@@ -390,7 +390,7 @@ if($backup_dir != '') {
foreach
(
$records
as
$rec
)
{
// Create a backup
if
(
$rec
[
'backup_interval'
]
==
'daily'
or
(
$rec
[
'backup_interval'
]
==
'
dai
ly'
&&
date
(
'w'
)
==
0
)
or
(
$rec
[
'backup_interval'
]
==
'monthly'
&&
date
(
'd'
)
==
'01'
))
{
if
(
$rec
[
'backup_interval'
]
==
'daily'
or
(
$rec
[
'backup_interval'
]
==
'
week
ly'
&&
date
(
'w'
)
==
0
)
or
(
$rec
[
'backup_interval'
]
==
'monthly'
&&
date
(
'd'
)
==
'01'
))
{
$web_path
=
$rec
[
'document_root'
];
$web_user
=
$rec
[
'system_user'
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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