fogproject
1.5.9
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.
![]() ![]() |
Go to the source code of this file.
Namespaces | |
FOGProject | |
Variables | |
$curversion = FOG_VERSION | |
$urls | |
$resp = $FOGURLRequests->process($urls) | |
$tags = json_decode(array_shift($resp)) | |
foreach($tags as $tag) | $systemclass = array_shift($resp) |
if(preg_match("/FOG_VERSION', '( | $systemclass [0-9.RCalphbet-] *)'/", $systemclass, $fogver)) = array_shift($resp) |
if(preg_match("/FOG_VERSION', '( | $stablecheck [0-9.RCalphbet-] *)'/", $systemclass, $fogver)) = version_compare($curversion, $stableversion, '=') |
$devcheck = version_compare($curversion, $devversion, '=') | |
$alphacheck = version_compare($curversion, $alphaversion, '=') | |
if(! $stablecheck &&! $devcheck &&! $alphacheck) | else |
exit | |
$alphacheck = version_compare($curversion, $alphaversion, '=') |
Definition at line 53 of file mainversion.php.
$curversion = FOG_VERSION |
Definition at line 27 of file mainversion.php.
$devcheck = version_compare($curversion, $devversion, '=') |
Definition at line 52 of file mainversion.php.
$resp = $FOGURLRequests->process($urls) |
Definition at line 33 of file mainversion.php.
Referenced by FOGPage\loginInfo(), and FOGService\replicateItems().
if (preg_match("/FOG_VERSION', '( $stablecheck[0-9.RCalphbet-]*)'/", $systemclass, $fogver)) = version_compare($curversion, $stableversion, '=') |
Definition at line 51 of file mainversion.php.
foreach ( $tags as $tag) $systemclass = array_shift($resp) |
Definition at line 42 of file mainversion.php.
Referenced by FOGPage\loginInfo().
if (preg_match("/FOG_VERSION', '( $systemclass[0-9.RCalphbet-]*)'/", $systemclass, $fogver)) = array_shift($resp) |
Definition at line 46 of file mainversion.php.
$tags = json_decode(array_shift($resp)) |
Definition at line 35 of file mainversion.php.
Referenced by FOGPage\loginInfo().
$urls |
Definition at line 28 of file mainversion.php.
Referenced by DashboardPage\bandwidth(), FOGURLRequests\isAvailable(), FOGPage\loginInfo(), FOGURLRequests\process(), and FOGConfigurationPage\version().
if ( $stablecheck) elseif ( $devcheck) else |
Definition at line 61 of file mainversion.php.
exit |
Definition at line 74 of file mainversion.php.