commit 93c98a6932f69cd6cb147fe70ef2c97e86b4e31a parent e83c3b72e72794575cef71b310338d3fb102c980 Author: dankert <devnull@localhost> Date: Sun, 8 Nov 2009 01:23:00 +0100 Default-Kennwort fuer Benutzer anonymous Diffstat:
serviceClasses/Ftp.class.php | | | 7 | +++++-- |
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/serviceClasses/Ftp.class.php b/serviceClasses/Ftp.class.php @@ -83,8 +83,11 @@ class Ftp $this->log[] = 'Connected to FTP server '.$ftp['host'].':'.$ftp['port']; - if ( empty($ftp['user']) ) - $ftp['user'] = 'anonymous'; + if ( empty($ftp['user']) ) + { + $ftp['user'] = 'anonymous'; + $ftp['pass'] = 'openrat@openrat.de'; + } if ( ! ftp_login( $this->verb,$ftp['user'],$ftp['pass'] ) ) {