set the installed version after updating the database
This commit is contained in:
parent
9686c5b6aa
commit
916c72b40b
1 changed files with 1 additions and 0 deletions
|
@ -123,6 +123,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