diff options
author | Chris Smith <chris.eureka@jalakai.co.uk> | 2009-01-19 17:48:09 +0100 |
---|---|---|
committer | Chris Smith <chris.eureka@jalakai.co.uk> | 2009-01-19 17:48:09 +0100 |
commit | 3994772a3d7c09e3152591d2e20e85b389acc4ac (patch) | |
tree | 1219f2b5749834b53542e3f3befbc1a4907cd1aa /inc/io.php | |
parent | 32ee58308d5bb11c322ca6bfc3b56e66364230af (diff) | |
download | rpg-3994772a3d7c09e3152591d2e20e85b389acc4ac.tar.gz rpg-3994772a3d7c09e3152591d2e20e85b389acc4ac.tar.bz2 |
FS#1517, obscure passwords in config files
This patch extends the config 'password' class to support a "_code" parameter
darcs-hash:20090119164809-f07c6-c136b559772610539bccb9e9c0191f6a973216ad.gz
Diffstat (limited to 'inc/io.php')
-rw-r--r-- | inc/io.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/io.php b/inc/io.php index 1c0e86104..2eb94db0c 100644 --- a/inc/io.php +++ b/inc/io.php @@ -424,7 +424,7 @@ function io_mkdir_ftp($dir){ return false; } - if(!@ftp_login($conn, $conf['ftp']['user'], $conf['ftp']['pass'])){ + if(!@ftp_login($conn, $conf['ftp']['user'], conf_decodeString($conf['ftp']['pass']))){ msg("FTP login failed",-1); return false; } |