Commit 45ef6acc authored by Chris Graham's avatar Chris Graham
Browse files

Fixed MANTIS-4328 (Allow detecting InfoZip as a custom install)

parent e2488c0d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ class Hook_check_unzip
    public function run()
    {
        $warning = array();
        if ((!function_exists('zip_open')) && (!@file_exists('/usr/bin/unzip'))) {
        if ((!function_exists('zip_open')) && (!@file_exists('/usr/local/bin/unzip')) && (!@file_exists('/usr/bin/unzip'))) {
            $warning[] = do_lang_tempcode('NO_ZIP_ON_SERVER');
        }
        return $warning;