diff options
Diffstat (limited to 'lib/installer.php')
-rw-r--r-- | lib/installer.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/installer.php b/lib/installer.php index 9135c60fc05..56e474bb3b3 100644 --- a/lib/installer.php +++ b/lib/installer.php @@ -187,7 +187,7 @@ class OC_Installer{ //run appinfo/install.php if((!isset($data['noinstall']) or $data['noinstall']==false) and file_exists($basedir.'/appinfo/install.php')) { - include($basedir.'/appinfo/install.php'); + include $basedir.'/appinfo/install.php'; } //set the installed version @@ -320,7 +320,7 @@ class OC_Installer{ //run appinfo/install.php if(is_file(OC_App::getAppPath($app)."/appinfo/install.php")) { - include(OC_App::getAppPath($app)."/appinfo/install.php"); + include OC_App::getAppPath($app)."/appinfo/install.php"; } $info=OC_App::getAppInfo($app); OC_Appconfig::setValue($app,'installed_version',OC_App::getAppVersion($app)); |