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.
  Fossies Dox: fogproject-1.5.9.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

system.class.php
Go to the documentation of this file.
1 <?php
24 class System
25 {
26  const PHP_REQUIRED = '5.6.0';
32  private static function _versionCompare()
33  {
34  $msg = '';
35  if (false === version_compare(PHP_VERSION, self::PHP_REQUIRED, '>=')) {
36  $msg = sprintf(
37  '%s. %s %s, %s %s %s.',
38  _('Your system PHP Version is not sufficient'),
39  _('You have version'),
40  PHP_VERSION,
41  _('version'),
42  self::PHP_REQUIRED,
43  _('is required')
44  );
45  }
46  if ($msg) {
47  die($msg);
48  }
49  }
53  public function __construct()
54  {
56  define('FOG_VERSION', '1.5.9');
57  define('FOG_SCHEMA', 270);
58  define('FOG_BCACHE_VER', 135);
59  define('FOG_CLIENT_VERSION', '0.12.0');
60  }
61 }
System
Definition: system.class.php:25
System\PHP_REQUIRED
const PHP_REQUIRED
Definition: system.class.php:26
System\_versionCompare
static _versionCompare()
Definition: system.class.php:32
System\__construct
__construct()
Definition: system.class.php:53
$msg
if($Host->isValid()) $msg
Definition: hostnameloop.php:42