mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
fixed bug with appcache config
This commit is contained in:
parent
cd1aaa3b37
commit
1168477155
2 changed files with 11 additions and 2 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2012.10.*, Version 0.1.8
|
||||
|
||||
* Fixed bug with appcache config. Windows reads file
|
||||
not just like Linux.
|
||||
|
||||
|
||||
2012.10.01, Version 0.1.7
|
||||
|
||||
* Changed name of menu files, fixed npm and jitsu
|
||||
|
|
|
|||
|
|
@ -677,8 +677,11 @@ CloudServer.indexReaded = function(pList){
|
|||
pIndex = pIndex.replace('<title>Cloud Commander</title>',
|
||||
'<title>' + CloudFunc.setTitle() + '</title>');
|
||||
|
||||
if(!CloudServer.Config.appcache)
|
||||
pIndex = pIndex.replace(' manifest="/cloudcmd.appcache"', '');
|
||||
if(!CloudServer.Config.appcache){
|
||||
if(process.platform === 'win32')
|
||||
pIndex = pIndex.replace(' manifest=/cloudcmd.appcache', '');
|
||||
else pIndex = pIndex.replace(' manifest="/cloudcmd.appcache"', '');
|
||||
}
|
||||
|
||||
var lHeader;
|
||||
/* если браузер поддерживает gzip-сжатие*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue