From 242f371e9e4adf2d1a4fbebff56f2648ce404e52 Mon Sep 17 00:00:00 2001 From: Franck VILLAUME Date: Thu, 18 Oct 2012 22:09:00 +0000 Subject: [PATCH 1/1] fix path: some system does not allow to write in data_path, use the default tmp dir --- src/www/docman/view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/www/docman/view.php b/src/www/docman/view.php index 6ca613ce4b..3824bece01 100644 --- a/src/www/docman/view.php +++ b/src/www/docman/view.php @@ -92,7 +92,7 @@ if ($docid != 'backup' && $docid != 'webdav' ) { if ( $nested_groups != NULL ) { $filename = 'docman-'.$g->getUnixName().'-'.$docid.'.zip'; - $file = forge_get_config('data_path').'/'.$filename; + $file = '/tmp/'.$filename; $zip = new ZipArchive; if ( !$zip->open($file, ZIPARCHIVE::CREATE | ZIPARCHIVE::OVERWRITE)) { exit_error(_('Unable to open zip archive for backup'),'docman'); -- 2.30.2