fixed bug with setting path of index.html

This commit is contained in:
coderaiser 2012-12-03 07:57:25 -05:00
parent d08d05d6d7
commit ba23f18b01
3 changed files with 11 additions and 9 deletions

View file

@ -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

View file

@ -4,7 +4,7 @@
"minification" : {
"js" : false,
"css" : true,
"html" : true,
"html" : false,
"img" : true
},
"oauth_client_id" : "891c251b925e4e967fa9",

View file

@ -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,