fix bug in lib/helper.php and fix file upload

This commit is contained in:
Georg Ehrke 2012-04-23 16:28:37 +02:00
parent 3b9d283245
commit aaedb23f05
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class OC_Helper {
if(substr($app, -1, 1) == '/'){
$app = substr($app, 0, strlen($app) - 1);
}
$urlLinkTo = OC::$WEBROOT . '?app=' . $app;
$urlLinkTo = OC::$APPSWEBROOT . '/?app=' . $app;
$urlLinkTo .= ($file!='index.php')?'&file=' . $file:'';
}
else{