aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-03-25 22:47:18 +0000
committerplegall <plg@piwigo.org>2005-03-25 22:47:18 +0000
commit1e3f5197d64f6e3e9644fee11c95723964d3b53f (patch)
tree3387564042544d8b8a1b225c02a573f848b5e03e
parentaed2bd916e0866a11352c14a695bf539d609951f (diff)
- new way of managing the application version
git-svn-id: http://piwigo.org/svn/trunk@758 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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