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:
@@ -43,7 +43,11 @@ $MAX_FILE_SIZE = 1907300;
|
|||||||
$marked_color = '#FFC2CA';
|
$marked_color = '#FFC2CA';
|
||||||
|
|
||||||
if (!function_exists("ftp_connect")) {
|
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
|
// Initialize Smarty
|
||||||
|
|||||||
Reference in New Issue
Block a user