mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 03:09:58 +03:00
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
This commit is contained in:
parent
fa9b4f8871
commit
d9f8479cdf
4 changed files with 21 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue