#18630594 : remove stored ftp information when modifying ftp information

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7208 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2010-01-21 07:09:25 +00:00
parent c1610d359d
commit bba460280b

View file

@ -140,6 +140,7 @@
$buff .= "?>";
$config_file = Context::getFTPConfigFile();
FileHandler::WriteFile($config_file, $buff);
if($_SESSION['ftp_password']) unset($_SESSION['ftp_password']);
$this->setMessage('success_updated');
}