Back to the module list

Version of DomFramework

The version file allow you to know the installed version of Domframework. It allow to generate an error if the installed version is too old :

require_once ("domframework/version.php");
if (version_compare (PHP_VERSION, '5.3.0') < 0)
  die ("Your PHP version is too old : 5.3.0 minimum\n");
if (!defined ("DOMFRAMEWORK_VERSION") ||
    version_compare (DOMFRAMEWORK_VERSION, "0.37") < 0)
  die ("Your DomFramework version is too old : 0.37 minimum\n");