mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 23:03:00 -04:00
set the installed version after updating the database
This commit is contained in:
parent
09a53170a3
commit
c6aa0f9854
1 changed files with 1 additions and 0 deletions
|
|
@ -156,6 +156,7 @@ class OC{
|
|||
$currentVersion=implode('.',OC_Util::getVersion());
|
||||
if (version_compare($currentVersion, $installedVersion, '>')) {
|
||||
OC_DB::updateDbFromStructure('../db_structure.xml');
|
||||
OC_Config::setValue('version',implode('.',OC_Util::getVersion()));
|
||||
}
|
||||
|
||||
ini_set('session.cookie_httponly','1;');
|
||||
|
|
|
|||
Loading…
Reference in a new issue