fix bug in lib/helper.php and fix file upload
This commit is contained in:
parent
3b9d283245
commit
aaedb23f05
|
@ -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 New Issue