mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fixed bug with setting path of index.html
This commit is contained in:
parent
d08d05d6d7
commit
ba23f18b01
3 changed files with 11 additions and 9 deletions
|
|
@ -142,6 +142,7 @@ Javascript dissabled.
|
|||
|
||||
* Improved work with browsers history api.
|
||||
|
||||
* Fixed bug with setting path of index.html.
|
||||
|
||||
2012.10.01, Version 0.1.7
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
"minification" : {
|
||||
"js" : false,
|
||||
"css" : true,
|
||||
"html" : true,
|
||||
"html" : false,
|
||||
"img" : true
|
||||
},
|
||||
"oauth_client_id" : "891c251b925e4e967fa9",
|
||||
|
|
|
|||
|
|
@ -1,10 +1,13 @@
|
|||
(function(){
|
||||
"use strict";
|
||||
|
||||
/* Обьект содержащий все функции и переменные
|
||||
var main = global.cloudcmd.main,
|
||||
|
||||
/*
|
||||
* Обьект содержащий все функции и переменные
|
||||
* серверной части Cloud Commander'а
|
||||
*/
|
||||
var CloudServer = {
|
||||
*/
|
||||
CloudServer = {
|
||||
/* base configuration */
|
||||
Config : {
|
||||
server : true,
|
||||
|
|
@ -50,20 +53,18 @@
|
|||
* Поддержка браузером JS */
|
||||
NoJS : true,
|
||||
/* Поддержка gzip-сжатия браузером */
|
||||
Gzip : undefined,
|
||||
Gzip : false,
|
||||
|
||||
/* server varible */
|
||||
Server :{},
|
||||
Server : {},
|
||||
|
||||
/* КОНСТАНТЫ */
|
||||
INDEX : __dirname + '/' + 'index.html'
|
||||
INDEX : main.DIR + '/' + 'index.html'
|
||||
},
|
||||
DirPath = '/',
|
||||
|
||||
OK = 200,
|
||||
|
||||
main = global.cloudcmd.main,
|
||||
|
||||
DIR = main.Dir,
|
||||
LIBDIR = main.LIBDIR,
|
||||
SRVDIR = main.SRVDIR,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue