Skip to content
Snippets Groups Projects
Commit 6e0ea7aa authored by Robin Appelman's avatar Robin Appelman
Browse files

use absolute path for db_structure.xml when updating

parent 1b1c4889
No related branches found
No related tags found
No related merge requests found
......@@ -156,7 +156,7 @@ class OC{
$installedVersion=OC_Config::getValue('version','0.0.0');
$currentVersion=implode('.',OC_Util::getVersion());
if (version_compare($currentVersion, $installedVersion, '>')) {
OC_DB::updateDbFromStructure('../db_structure.xml');
OC_DB::updateDbFromStructure(OC::$SERVERROOT.'/db_structure.xml');
OC_Config::setValue('version',implode('.',OC_Util::getVersion()));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment