

/*
* 路径配置
* */

var path = require('path');

//向上返回两层，到达框架跟目录
var b = path.dirname(path.dirname(__dirname)); //框架文件夹绝对路径

//路径配置
module.exports = {

    base:b,
    app: b+'/app', //程序目录
    framework: b+'/framework', //框架核心目录

    controller: b+'/app/controller', //controller
    model: b+'/app/model', //

    js: b+'/app/resource/js', //前端js文件
    less: b+'/app/resource/less', //前端less文件
    tpl: b+'/app/resource/tpl', //前端tpl模板文件

    data:b+'/data',   //数据文件目录
    log:b+'/log',   //日志文件目录
    static:b+'/static',   //静态文件目录
    tmp:b+'/tmp'   //临时文件目录
};
@@ -121,15 +121,24 @@
 %E8%B7%AF%E5%BE%84%0A%0A
+%0A
 //%E8%B7%AF%E5%BE%84%E9%85%8D%E7%BD%AE%0A
+var p = 
 modu
@@ -567,8 +567,156 @@
 %E6%97%B6%E6%96%87%E4%BB%B6%E7%9B%AE%E5%BD%95%0A%7D;
+%0A%0A%0A//%E5%85%A8%E5%B1%80%E8%B7%AF%E5%BE%84%E5%8F%98%E9%87%8F%0A%0Aglobal.CK_PATH = b;%0Aglobal.CK_PATH_APP = p.app;%0A//%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%E8%B7%AF%E5%BE%84%0Aglobal.CK_PATH_CONFIG = p.app+'/config'+(ENVIRONMENT ? '/'+ENVIRONMENT : '');%0A

Update path.js