diff options
author | Robin Appelman <icewind1991@gmail.com> | 2012-01-13 20:05:24 +0100 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2012-01-13 20:05:24 +0100 |
commit | 6e0ea7aaaef50b7d7a48477995094da7aa745e4a (patch) | |
tree | 1aadcb08ec844205746d09d2d3b02edbd4d880ce | |
parent | 1b1c4889fc249e8cd27e2c3357868990abb2aa1e (diff) | |
download | nextcloud-server-6e0ea7aaaef50b7d7a48477995094da7aa745e4a.tar.gz nextcloud-server-6e0ea7aaaef50b7d7a48477995094da7aa745e4a.zip |
use absolute path for db_structure.xml when updating
-rw-r--r-- | lib/base.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php index e0f14b703dc..9531f7ed74f 100644 --- a/lib/base.php +++ b/lib/base.php @@ -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())); } |