Skip to content
Snippets Groups Projects
Commit 60bd070e authored by tbrehm's avatar tbrehm
Browse files

Fixed a bug in cron_daily.php.

parent f6497b5b
No related branches found
No related tags found
No related merge requests found
......@@ -390,7 +390,7 @@ if($backup_dir != '') {
foreach($records as $rec) {
// Create a backup
if($rec['backup_interval'] == 'daily' or ($rec['backup_interval'] == 'daily' && date('w') == 0) or ($rec['backup_interval'] == 'monthly' && date('d') == '01')) {
if($rec['backup_interval'] == 'daily' or ($rec['backup_interval'] == 'weekly' && date('w') == 0) or ($rec['backup_interval'] == 'monthly' && date('d') == '01')) {
$web_path = $rec['document_root'];
$web_user = $rec['system_user'];
......
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