Commit 60bd070e authored by tbrehm's avatar tbrehm
Browse files

Fixed a bug in cron_daily.php.

parent f6497b5b
......@@ -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'];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment