Commit 75c3d472 authored by Till Brehm's avatar Till Brehm
Browse files

Add warning message to log file when backup fails.

parent 55ad2819
......@@ -142,6 +142,7 @@ class cronjob_backup extends cronjob {
} else {
if(is_file($web_backup_dir.'/'.$web_backup_file)) unlink($web_backup_dir.'/'.$web_backup_file);
$app->log('Backup of '.$web_path.' failed.', LOGLEVEL_WARN);
//* Remove old backups
Supports Markdown
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