"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packages/web/maintenance/create_update_node.php" between
fogproject-1.5.7.tar.gz and fogproject-1.5.8.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.

create_update_node.php  (fogproject-1.5.7):create_update_node.php  (fogproject-1.5.8)
skipping to change at line 44 skipping to change at line 44
if (!isset($_POST['fogverified'])) { if (!isset($_POST['fogverified'])) {
return; return;
} }
if (isset($_POST['newNode'])) { if (isset($_POST['newNode'])) {
$exists = FOGCore::getClass('StorageNodeManager') $exists = FOGCore::getClass('StorageNodeManager')
->exists($_POST['ip'], '', 'ip'); ->exists($_POST['ip'], '', 'ip');
if ($exists) { if ($exists) {
return; return;
} }
FOGCore::getClass('StorageNode') FOGCore::getClass('StorageNode')
->set('name', trim($_POST['ip'])) ->set('name', trim($_POST['name']))
->set('path', trim($_POST['path'])) ->set('path', trim($_POST['path']))
->set('ftppath', trim($_POST['ftppath'])) ->set('ftppath', trim($_POST['ftppath']))
->set('snapinpath', trim($_POST['snapinpath'])) ->set('snapinpath', trim($_POST['snapinpath']))
->set('sslpath', trim($_POST['sslpath'])) ->set('sslpath', trim($_POST['sslpath']))
->set('ip', trim($_POST['ip'])) ->set('ip', trim($_POST['ip']))
->set('maxClients', trim($_POST['maxClients'])) ->set('maxClients', trim($_POST['maxClients']))
->set('user', trim($_POST['user'])) ->set('user', trim($_POST['user']))
->set('pass', trim($_POST['pass'])) ->set('pass', trim($_POST['pass']))
->set('interface', trim($_POST['interface'])) ->set('interface', trim($_POST['interface']))
->set('bandwidth', trim($_POST['bandwidth'])) ->set('bandwidth', trim($_POST['bandwidth']))
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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