Fixed path to gunzip on for mysql restores

Version 1.361


Previously, the gz files were extracted with /usr/bin/gunzip. On non-FreeBSD systems, the path should be /bin/gunzip. This was resolved in the code with some #ifdef calls to check the OS, and setting some #define calls for the true gunzip path. Also a check for this file is done first to ensure it's actually there, or it will throw an error.

Interested to try DirectAdmin? Get a 30-day Free Trial!