"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packages/web/lib/client/snapinclient.class.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.

snapinclient.class.php  (fogproject-1.5.7):snapinclient.class.php  (fogproject-1.5.8)
skipping to change at line 165 skipping to change at line 165
} }
} }
if (!($StorageNode instanceof StorageNode if (!($StorageNode instanceof StorageNode
&& $StorageNode->isValid()) && $StorageNode->isValid())
) { ) {
$StorageNode = $StorageGroup->getMasterStorageNode(); $StorageNode = $StorageGroup->getMasterStorageNode();
if (!$StorageNode->isValid()) { if (!$StorageNode->isValid()) {
continue; continue;
} }
} }
$location = sprintf(
'http://%s/%s',
$StorageNode->get('ip'),
$StorageNode->get('webroot')
);
$path = sprintf( $path = sprintf(
'/%s', '/%s',
trim($StorageNode->get('snapinpath'), '/') trim($StorageNode->get('snapinpath'), '/')
); );
$file = $Snapin->get('file'); $file = $Snapin->get('file');
$filepath = sprintf( $filepath = sprintf(
'%s/%s', '%s/%s',
$path, $path,
$file $file
); );
 End of changes. 1 change blocks. 
0 lines changed or deleted 5 lines changed or added

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