mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix bug in lib/helper.php and fix file upload
This commit is contained in:
parent
3b9d283245
commit
aaedb23f05
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue