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:
2014-07-31 14:26:56 +00:00
parent 83fae5f05b
commit 1e8c4cfef6
2 changed files with 13 additions and 10 deletions

13
version.php Normal file
View 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");