aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/ChangeLog6
-rw-r--r--include/constants.php2
-rw-r--r--tools/create_listing_file.php2
3 files changed, 8 insertions, 2 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 3c1258db0..eb5c09a52 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,5 +1,11 @@
2005-03-25 Pierrick LE GALL <pierrick at phpwebgallery dot net>
+ * application version is defined at build or release
+ creation. This way, include/constants.php won't change at each
+ build.
+
+2005-03-25 Pierrick LE GALL <pierrick at phpwebgallery dot net>
+
* typo fixed : wrong block name closed in template
2005-03-25 Pierrick LE GALL <pierrick at phpwebgallery dot net>
diff --git a/include/constants.php b/include/constants.php
index c47ecf9a2..75764f1a5 100644
--- a/include/constants.php
+++ b/include/constants.php
@@ -26,7 +26,7 @@
// +-----------------------------------------------------------------------+
// Default settings
-define('PHPWG_VERSION', '1.4.0');
+define('PHPWG_VERSION', '%PWGVERSION%');
define('PHPWG_URL', 'http://www.phpwebgallery.net');
define('PHPWG_FORUM_URL', 'http://forum.phpwebgallery.net');
diff --git a/tools/create_listing_file.php b/tools/create_listing_file.php
index 81f55ef29..3111a71c5 100644
--- a/tools/create_listing_file.php
+++ b/tools/create_listing_file.php
@@ -42,7 +42,7 @@ $conf['picture_ext'] = array('jpg','JPG','png','PNG','gif','GIF');
// $conf['version'] is used to verify the compatibility of the generated
// listing.xml file and the PhpWebGallery version you're running
-$conf['version'] = '1.4.0RC3';
+$conf['version'] = '%PWGVERSION%';
// $conf['use_exif'] set to true if you want to use Exif Date as "creation
// date" for the element, otherwise, set to false