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

remotes/origin/stable4
Georg Ehrke 13 years ago
parent 3b9d283245
commit aaedb23f05
  1. 2
      lib/helper.php

@ -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{

Loading…
Cancel
Save