summaryrefslogtreecommitdiffstats
path: root/lib/general.lib.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/general.lib.php')
-rw-r--r--lib/general.lib.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/general.lib.php b/lib/general.lib.php
index 42419bce..9f985196 100644
--- a/lib/general.lib.php
+++ b/lib/general.lib.php
@@ -448,6 +448,9 @@ function scrub_in($str) {
*/
function batch_ok( ) {
+ /* Also make sure that they have ZLIB */
+ if (!function_exists('gzcompress')) { return false; }
+
// i check this before showing any link
// should make it easy to tie to a new pref if you choose to add it
if (conf('allow_zip_download') AND $GLOBALS['user']->has_access(25)) {