enhance error-display on missing php-extension in webftp.php - thx to boonkerz

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2014-01-23 14:10:42 +01:00
parent 019da862dd
commit d2a51b4bca

View File

@@ -43,7 +43,11 @@ $MAX_FILE_SIZE = 1907300;
$marked_color = '#FFC2CA';
if (!function_exists("ftp_connect")) {
die('No FTP support');
die('Please compile PHP with FTP support');
}
if (!function_exists("bindtextdomain")) {
die('Please compile PHP with gettext support');
}
// Initialize Smarty