From d9f8479cdfc4b7108c116f42e7bd7e152533b970 Mon Sep 17 00:00:00 2001 From: plegall Date: Sat, 25 Jun 2011 22:03:12 +0000 Subject: feature 2365 added: Piwigo version is written in the database (as "piwigo_db_version" in the config table). We only store the branch, not the release : 2.3 and not 2.3.1, because database structure is not changing between minor releases. git-svn-id: http://piwigo.org/svn/trunk@11511 68402e56-0260-453c-a942-63ccdbb3a9ee --- upgrade.php | 1 + 1 file changed, 1 insertion(+) (limited to 'upgrade.php') diff --git a/upgrade.php b/upgrade.php index 64f81964f..8257ba3fb 100644 --- a/upgrade.php +++ b/upgrade.php @@ -311,6 +311,7 @@ if ((isset($_POST['submit']) or isset($_GET['now'])) $page['upgrade_start'] = get_moment(); $conf['die_on_sql_error'] = false; include($upgrade_file); + conf_update_param('piwigo_db_version', get_branch_from_version(PHPWG_VERSION)); // Something to add in database.inc.php? if (!empty($mysql_changes)) -- cgit v1.2.3