Rename domframeworkversion.php to version.php
Update how the version is returned to the caller git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1630 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -1,10 +0,0 @@
|
|||||||
<?php
|
|
||||||
/** DomFramework
|
|
||||||
@package domframework
|
|
||||||
@author Dominique Fournier <dominique@fournier38.fr> */
|
|
||||||
|
|
||||||
/** This class return the actual version of domframework */
|
|
||||||
class domframeworkversion
|
|
||||||
{
|
|
||||||
const version = "0.6";
|
|
||||||
}
|
|
||||||
13
version.php
Normal file
13
version.php
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<?php
|
||||||
|
/** DomFramework
|
||||||
|
@package domframework
|
||||||
|
@author Dominique Fournier <dominique@fournier38.fr> */
|
||||||
|
|
||||||
|
|
||||||
|
/** This is the version of DomFramework.
|
||||||
|
It can be used to test if the framework is uptodate for the application with :
|
||||||
|
require ("domframework/version.php");
|
||||||
|
if (!defined ("DOMFRAMEWORK_VERSION") ||
|
||||||
|
version_compare (DOMFRAMEWORK_VERSION, "0.6") < 0)
|
||||||
|
die ("Your DomFramework version is too old : 0.6 minimum\n"); */
|
||||||
|
define ("DOMFRAMEWORK_VERSION", "0.6");
|
||||||
Reference in New Issue
Block a user