From 3994772a3d7c09e3152591d2e20e85b389acc4ac Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Mon, 19 Jan 2009 17:48:09 +0100 Subject: 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 --- inc/io.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/io.php') 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; } -- cgit v1.2.3