"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packages/web/lib/fog/fogftp.class.php" between
fogproject-1.5.8.tar.gz and fogproject-1.5.9.tar.gz

About: FOG is a Linux-based network computer cloning solution for Windows, Mac OSX and various Linux distributions that ties together a few open-source tools with a PHP-based web interface. FOG doesn’t use any boot disks, or CDs; everything is done via TFTP and PXE.

fogftp.class.php  (fogproject-1.5.8):fogftp.class.php  (fogproject-1.5.9)
skipping to change at line 464 skipping to change at line 464
); );
if ($this->_currentLoginHash == $this->_lastLoginHash) { if ($this->_currentLoginHash == $this->_lastLoginHash) {
return $this; return $this;
} }
if (!$username) { if (!$username) {
$username = $this->get('username'); $username = $this->get('username');
} }
if (!$password) { if (!$password) {
$password = $this->get('password'); $password = $this->get('password');
} }
$password = htmlspecialchars_decode($password, ENT_QUOTES | ENT_HTML 401);
if (ftp_login($this->_link, $username, $password) === false) { if (ftp_login($this->_link, $username, $password) === false) {
$this->ftperror($this->data); $this->ftperror($this->data);
} }
} catch (Exception $e) { } catch (Exception $e) {
throw new Exception($e->getMessage()); throw new Exception($e->getMessage());
} }
$this->_lastLoginHash = $this->_currentLoginHash; $this->_lastLoginHash = $this->_currentLoginHash;
return $this; return $this;
} }
/** /**
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)