Remove special case for css in OC.filePath

This commit is contained in:
Robin Appelman 2014-07-21 13:03:14 +02:00
parent 3df7a83c72
commit e7e5333b12
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ var OC={
filePath:function(app,type,file){
var isCore=OC.coreApps.indexOf(app)!==-1,
link=OC.webroot;
if((file.substring(file.length-3) === 'php' || file.substring(file.length-3) === 'css') && !isCore){
if(file.substring(file.length-3) === 'php' && !isCore){
link+='/index.php/apps/' + app;
if (file != 'index.php') {
link+='/';