@@ -20,14 +20,3 @@ try {
 | 
				
			|||||||
} catch (ex) {
 | 
					} catch (ex) {
 | 
				
			||||||
    // IGNORE
 | 
					    // IGNORE
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
/**
 | 
					 | 
				
			||||||
 * 尝试加载特殊的Console类
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
if (DetectServerType) {
 | 
					 | 
				
			||||||
    try {
 | 
					 | 
				
			||||||
        load(root + '/internal/' + DetectServerType + '/console.js');
 | 
					 | 
				
			||||||
    } catch (ex) {
 | 
					 | 
				
			||||||
        // IGNORE
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
global.console = new global.Console();
 | 
					 | 
				
			||||||
@@ -12,6 +12,7 @@
 | 
				
			|||||||
        loadPatch();
 | 
					        loadPatch();
 | 
				
			||||||
        loadRequire();
 | 
					        loadRequire();
 | 
				
			||||||
        try {
 | 
					        try {
 | 
				
			||||||
 | 
					            loadServerConsole();
 | 
				
			||||||
            loadServerLib();
 | 
					            loadServerLib();
 | 
				
			||||||
            loadPlugins();
 | 
					            loadPlugins();
 | 
				
			||||||
        } catch (ex) {
 | 
					        } catch (ex) {
 | 
				
			||||||
@@ -27,6 +28,7 @@
 | 
				
			|||||||
    function loadCore() {
 | 
					    function loadCore() {
 | 
				
			||||||
        // 加载Console
 | 
					        // 加载Console
 | 
				
			||||||
        load(root + '/core/console.js');
 | 
					        load(root + '/core/console.js');
 | 
				
			||||||
 | 
					        global.console = new global.Console();
 | 
				
			||||||
        // 探测服务器类型
 | 
					        // 探测服务器类型
 | 
				
			||||||
        load(root + '/core/detect.js');
 | 
					        load(root + '/core/detect.js');
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
@@ -65,6 +67,20 @@
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					    * 尝试加载特殊的Console类
 | 
				
			||||||
 | 
					    */
 | 
				
			||||||
 | 
					    function loadServerConsole() {
 | 
				
			||||||
 | 
					        if (DetectServerType) {
 | 
				
			||||||
 | 
					            try {
 | 
				
			||||||
 | 
					                requireInternal('console');
 | 
				
			||||||
 | 
					                global.console = new global.Console();
 | 
				
			||||||
 | 
					            } catch (ex) {
 | 
				
			||||||
 | 
					                // IGNORE
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * 加载系统类库
 | 
					     * 加载系统类库
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
@@ -100,7 +116,6 @@
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // noinspection JSUnusedLocalSymbols
 | 
					 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * 关闭插件Hook
 | 
					     * 关闭插件Hook
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user