Page 1 of 1

zip support check

Posted: Mon Oct 16, 2017 2:18 pm
by nikokara - BANNED
Hi Jachim

What about adding this in errorChecker.php ???

Code: Select all

//=========new zip check by nik ============
    $checks[] = array($title,$span,$text,$correct);

    $title = "Zip support ";

   if( extension_loaded("zip")){
        $span = $correctDiv;
        $text = "zip support is enabled on your server. ";
        $correct = "";
    }
    else{
        $span = $incorrectDiv;
        $text = "zip is not enabled on your server. 
        This is likely to cause issues with the <auto update> function.";
        $correct = "You need to enable this on your server.
         If you are running your own server, change this in the php.ini, 
         if external webhosting, ask your provider about this, 
         or enable \'Zip support\' in your Web Control Panel";
    }
enjoy 8-)

Re: zip support check

Posted: Mon Oct 16, 2017 2:43 pm
by Jachym
Yes I guess I could add it, I never thought about it because for example I cannot enable/disable it in my hosting so it didnt occur to me some people can.

Re: zip support check

Posted: Mon Oct 16, 2017 4:53 pm
by Fraggboy
+1 in adding this. Just another function that is necessary for MT to work as intended.