minor changes

This commit is contained in:
coderaiser 2013-02-19 08:11:29 -05:00
parent 0dec6bc042
commit f43bb8ed42
2 changed files with 11 additions and 5 deletions

View file

@ -192,8 +192,13 @@
lRet = main.sendFile( pParams );
}
else if( Util.isContainStr(p.name, FS) || Util.strCmp( p.name, '/') ){
if( !main.getQuery(p.request) )
var lQuery = main.getQuery(p.request);
if( !lQuery )
p.request.url += '?html';
else if(lQuery === '?download')
lQuery += '&&html';
var lName = Minify.allowed.html ?
Minify.getName(INDEX) : INDEX;