• Resolved Mad Max

    (@mad_max)


    Please add a check on $original_file in class.backup.php before the copy operation to backup file, because sometime $original_file comes up empty and copy operation fails with a warning in the log file.

    I’ve temporary fixed it with this on line 218:

    
    if (!empty(basename( $original_file ))){
    				$backup_file = $backup_dir . basename( $original_file );
    				$copy = copy( $original_file, $backup_file );
    			}
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Trying to backup file with empty filename’ is closed to new replies.