Skip to content
Browse files

Added some debug messages.

  • Loading branch information...
1 parent 73439eb commit befaa247913cf7fd6669166e41e8ed27d4beab9d @realtimeprojects committed
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/_include/fun_down.php
View
2 src/_include/fun_down.php
@@ -49,9 +49,11 @@ function download_selected($dir)
global $temp_dir;
$archive_tmp_dir = isset($temp_dir) ? $temp_dir : sys_get_temp_dir();
require_once("_include/fun_archive.php");
+ _debug("creating temporary archive in temporary directory $archive_tmp_dir");
$items = qxpage_selected_items();
$tmpfile = tempnam($archive_tmp_dir, 'download_');
zip_selected_items($tmpfile, $dir, $items);
+ _debug("Archive file $tmpfile created");
_download($tmpfile, "quixplorer_download.zip");
}

0 comments on commit befaa24

Please sign in to comment.
Something went wrong with that request. Please try again.