Browse Source

set the installed version after updating the database

tags/v3.0
Robin Appelman 12 years ago
parent
commit
c6aa0f9854
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      lib/base.php

+ 1
- 0
lib/base.php View File

$currentVersion=implode('.',OC_Util::getVersion()); $currentVersion=implode('.',OC_Util::getVersion());
if (version_compare($currentVersion, $installedVersion, '>')) { if (version_compare($currentVersion, $installedVersion, '>')) {
OC_DB::updateDbFromStructure('../db_structure.xml'); OC_DB::updateDbFromStructure('../db_structure.xml');
OC_Config::setValue('version',implode('.',OC_Util::getVersion()));
} }


ini_set('session.cookie_httponly','1;'); ini_set('session.cookie_httponly','1;');

Loading…
Cancel
Save