From 2d69b5d9f43a5dfdba7a7c85a60c4da145b4cbcb Mon Sep 17 00:00:00 2001 From: Cesar Perales Date: Wed, 27 Mar 2013 19:48:29 -0500 Subject: [PATCH] custom stylesheet in archive - client denied by server configuration - refs #5967 --- main/admin/settings.lib.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/admin/settings.lib.php b/main/admin/settings.lib.php index ad0d6d0b4b..53cdb5cc17 100644 --- a/main/admin/settings.lib.php +++ b/main/admin/settings.lib.php @@ -314,7 +314,8 @@ function handle_stylesheets() { // Remove path prefix except the style name and put file on disk $zip->create($dir, PCLZIP_OPT_REMOVE_PATH, substr($dir,0,-strlen($safe_style_dir))); } - $str = ''.get_lang('ClickHereToDownloadTheFile').''; + //@TODO: use more generic script to download. + $str = ''.get_lang('ClickHereToDownloadTheFile').''; Display::display_normal_message($str,false); } }