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 --- install.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'install.php') diff --git a/install.php b/install.php index fe63248c6..29b2c86b5 100644 --- a/install.php +++ b/install.php @@ -339,6 +339,8 @@ INSERT INTO '.$prefixeTable.'config (param,value,comment) \'a secret key specific to the gallery for internal use\');'; pwg_query($query); + conf_update_param('piwigo_db_version', get_branch_from_version(PHPWG_VERSION)); + // fill languages table foreach ($languages->fs_languages as $language_code => $fs_language) { -- cgit v1.2.3