summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-08-15 17:38:55 +0200
committerBart Visscher <bartv@thisnet.nl>2012-08-15 17:38:55 +0200
commit4954e46bb2ba36c749b638111dc90500e12cedf7 (patch)
tree262af3765538f94e84f9e79af89656427b4448b4 /core
parent16dacba4900ce2bbb4f26040f6f5c2b698eae5da (diff)
downloadnextcloud-server-4954e46bb2ba36c749b638111dc90500e12cedf7.tar.gz
nextcloud-server-4954e46bb2ba36c749b638111dc90500e12cedf7.zip
Use core routes in js too
Diffstat (limited to 'core')
-rw-r--r--core/js/js.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 7bded8e1414..6881090f62e 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -54,9 +54,9 @@ OC={
var isCore=OC.coreApps.indexOf(app)!=-1;
var link=OC.webroot;
if((file.substring(file.length-3) == 'php' || file.substring(file.length-3) == 'css') && !isCore){
- link+='/?app=' + app;
+ link+='/index.php/apps/' + app;
if (file != 'index.php') {
- link+='&getfile=';
+ link+='/';
if(type){
link+=encodeURI(type + '/');
}