--- sitedoc.module.orig 2008-08-22 10:17:39.054104641 +0200 +++ sitedoc.module 2008-08-22 10:17:23.338096759 +0200 @@ -420,7 +420,7 @@ if ($how_long > $frequency) { /* longer than how long between saves? */ // Get the file path and append a file name. - $filename = variable_get('file_directory_path', 'files') .'/' + $filename = file_directory_path().'/' . $sitedoc_settings['archive_directory'] .'/sitedoc_'. date('Ymd_Hi') .'.html'; $path = $filename; // make sure we can write to it