<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>系统发生错误</title>
    <meta name="robots" content="noindex,nofollow" />
    <style>
        /* Base */
        body {
            color: #333;
            font: 16px Verdana, "Helvetica Neue", helvetica, Arial, 'Microsoft YaHei', sans-serif;
            margin: 0;
            padding: 0 20px 20px;
        }
        h1{
            margin: 10px 0 0;
            font-size: 28px;
            font-weight: 500;
            line-height: 32px;
        }
        h2{
            color: #4288ce;
            font-weight: 400;
            padding: 6px 0;
            margin: 6px 0 0;
            font-size: 18px;
            border-bottom: 1px solid #eee;
        }
        h3{
            margin: 12px;
            font-size: 16px;
            font-weight: bold;
        }
        abbr{
            cursor: help;
            text-decoration: underline;
            text-decoration-style: dotted;
        }
        a{
            color: #868686;
            cursor: pointer;
        }
        a:hover{
            text-decoration: underline;
        }
        .line-error{
            background: #f8cbcb;
        }

        .echo table {
            width: 100%;
        }

        .echo pre {
            padding: 16px;
            overflow: auto;
            font-size: 85%;
            line-height: 1.45;
            background-color: #f7f7f7;
            border: 0;
            border-radius: 3px;
            font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
        }

        .echo pre > pre {
            padding: 0;
            margin: 0;
        }
    
        /* Exception Info */
        .exception {
            margin-top: 20px;
        }
        .exception .message{
            padding: 12px;
            border: 1px solid #ddd;
            border-bottom: 0 none;
            line-height: 18px;
            font-size:16px;
            border-top-left-radius: 4px;
            border-top-right-radius: 4px;
            font-family: Consolas,"Liberation Mono",Courier,Verdana,"微软雅黑";
        }

        .exception .code{
            float: left;
            text-align: center;
            color: #fff;
            margin-right: 12px;
            padding: 16px;
            border-radius: 4px;
            background: #999;
        }
        .exception .source-code{
            padding: 6px;
            border: 1px solid #ddd;

            background: #f9f9f9;
            overflow-x: auto;

        }
        .exception .source-code pre{
            margin: 0;
        }
        .exception .source-code pre ol{
            margin: 0;
            color: #4288ce;
            display: inline-block;
            min-width: 100%;
            box-sizing: border-box;
        font-size:14px;
            font-family: "Century Gothic",Consolas,"Liberation Mono",Courier,Verdana;
            padding-left: 48px;
        }
        .exception .source-code pre li{
            border-left: 1px solid #ddd;
            height: 18px;
            line-height: 18px;
        }
        .exception .source-code pre code{
            color: #333;
            height: 100%;
            display: inline-block;
            border-left: 1px solid #fff;
        font-size:14px;
            font-family: Consolas,"Liberation Mono",Courier,Verdana,"微软雅黑";
        }
        .exception .trace{
            padding: 6px;
            border: 1px solid #ddd;
            border-top: 0 none;
            line-height: 16px;
        font-size:14px;
            font-family: Consolas,"Liberation Mono",Courier,Verdana,"微软雅黑";
        }
        .exception .trace ol{
            margin: 12px;
        }
        .exception .trace ol li{
            padding: 2px 4px;
        }
        .exception div:last-child{
            border-bottom-left-radius: 4px;
            border-bottom-right-radius: 4px;
        }

        /* Exception Variables */
        .exception-var table{
            width: 100%;
            margin: 12px 0;
            box-sizing: border-box;
            table-layout:fixed;
            word-wrap:break-word;            
        }
        .exception-var table caption{
            text-align: left;
            font-size: 16px;
            font-weight: bold;
            padding: 6px 0;
        }
        .exception-var table caption small{
            font-weight: 300;
            display: inline-block;
            margin-left: 10px;
            color: #ccc;
        }
        .exception-var table tbody{
            font-size: 13px;
            font-family: Consolas,"Liberation Mono",Courier,"微软雅黑";
        }
        .exception-var table td{
            padding: 0 6px;
            vertical-align: top;
            word-break: break-all;
        }
        .exception-var table td:first-child{
            width: 28%;
            font-weight: bold;
            white-space: nowrap;
        }
        .exception-var table td pre{
            margin: 0;
        }

        /* Copyright Info */
        .copyright{
            margin-top: 24px;
            padding: 12px 0;
            border-top: 1px solid #eee;
        }

        /* SPAN elements with the classes below are added by prettyprint. */
        pre.prettyprint .pln { color: #000 }  /* plain text */
        pre.prettyprint .str { color: #080 }  /* string content */
        pre.prettyprint .kwd { color: #008 }  /* a keyword */
        pre.prettyprint .com { color: #800 }  /* a comment */
        pre.prettyprint .typ { color: #606 }  /* a type name */
        pre.prettyprint .lit { color: #066 }  /* a literal value */
        /* punctuation, lisp open bracket, lisp close bracket */
        pre.prettyprint .pun, pre.prettyprint .opn, pre.prettyprint .clo { color: #660 }
        pre.prettyprint .tag { color: #008 }  /* a markup tag name */
        pre.prettyprint .atn { color: #606 }  /* a markup attribute name */
        pre.prettyprint .atv { color: #080 }  /* a markup attribute value */
        pre.prettyprint .dec, pre.prettyprint .var { color: #606 }  /* a declaration; a variable name */
        pre.prettyprint .fun { color: red }  /* a function name */
    </style>
</head>
<body>
    <div class="echo">
            </div>
        <div class="exception">
    <div class="message">
        
            <div class="info">
                <div>
                    <h2>[0]&nbsp;<abbr title="think\exception\HttpException">HttpException</abbr> in <a class="toggle" title="D:\WebSite\main\wwwroot\thinkphp\library\think\route\dispatch\Module.php line 62">Module.php line 62</a></h2>
                </div>
                <div><h1>模块不存在:css</h1></div>
            </div>
        
    </div>
	        <div class="source-code">
            <pre class="prettyprint lang-php"><ol start="53"><li class="line-53"><code>                $available = true;
</code></li><li class="line-54"><code>            }
</code></li><li class="line-55"><code>
</code></li><li class="line-56"><code>            // 模块初始化
</code></li><li class="line-57"><code>            if ($module &amp;&amp; $available) {
</code></li><li class="line-58"><code>                // 初始化模块
</code></li><li class="line-59"><code>                $this-&gt;request-&gt;setModule($module);
</code></li><li class="line-60"><code>                $this-&gt;app-&gt;init($module);
</code></li><li class="line-61"><code>            } else {
</code></li><li class="line-62"><code>                throw new HttpException(404, 'module not exists:' . $module);
</code></li><li class="line-63"><code>            }
</code></li><li class="line-64"><code>        }
</code></li><li class="line-65"><code>
</code></li><li class="line-66"><code>        // 是否自动转换控制器和操作名
</code></li><li class="line-67"><code>        $convert = is_bool($this-&gt;convert) ? $this-&gt;convert : $this-&gt;rule-&gt;getConfig('url_convert');
</code></li><li class="line-68"><code>        // 获取控制器名
</code></li><li class="line-69"><code>        $controller = strip_tags($result[1] ?: $this-&gt;rule-&gt;getConfig('default_controller'));
</code></li><li class="line-70"><code>
</code></li><li class="line-71"><code>        $this-&gt;controller = $convert ? strtolower($controller) : $controller;
</code></li></ol></pre>
        </div>
	        <div class="trace">
            <h2>Call Stack</h2>
            <ol>
                <li>in <a class="toggle" title="D:\WebSite\main\wwwroot\thinkphp\library\think\route\dispatch\Module.php line 62">Module.php line 62</a></li>
                                <li>
                at <abbr title="think\route\dispatch\Module">Module</abbr>->init() in <a class="toggle" title="D:\WebSite\main\wwwroot\thinkphp\library\think\route\dispatch\Url.php line 25">Url.php line 25</a>                </li>
                                <li>
                at <abbr title="think\route\dispatch\Url">Url</abbr>->init() in <a class="toggle" title="D:\WebSite\main\wwwroot\thinkphp\library\think\App.php line 402">App.php line 402</a>                </li>
                                <li>
                at <abbr title="think\App">App</abbr>->run() in <a class="toggle" title="D:\WebSite\main\wwwroot\index.php line 23">index.php line 23</a>                </li>
                            </ol>
        </div>
    </div>
        
    
        <div class="exception-var">
        <h2>Environment Variables</h2>
                <table>
                        <caption>GET Data<small>empty</small></caption>
                    </table>
                <table>
                        <caption>POST Data<small>empty</small></caption>
                    </table>
                <table>
                        <caption>Files<small>empty</small></caption>
                    </table>
                <table>
                        <caption>Cookies<small>empty</small></caption>
                    </table>
                <table>
                        <caption>Session<small>empty</small></caption>
                    </table>
                <table>
                        <caption>Server/Request Data</caption>
            <tbody>
                                <tr>
                    <td>_FCGI_X_PIPE_</td>
                    <td>
                        \\.\pipe\IISFCGI-edfb1867-9fda-479b-bb83-e0b1c87276c8                    </td>
                </tr>
                                <tr>
                    <td>PHPRC</td>
                    <td>
                        D:\phpStudy\php\php-5.6.27-nts\                    </td>
                </tr>
                                <tr>
                    <td>PHP_FCGI_MAX_REQUESTS</td>
                    <td>
                        1000                    </td>
                </tr>
                                <tr>
                    <td>ALLUSERSPROFILE</td>
                    <td>
                        C:\ProgramData                    </td>
                </tr>
                                <tr>
                    <td>APPDATA</td>
                    <td>
                        C:\Windows\system32\config\systemprofile\AppData\Roaming                    </td>
                </tr>
                                <tr>
                    <td>APP_POOL_CONFIG</td>
                    <td>
                        C:\inetpub\temp\apppools\DefaultAppPool\DefaultAppPool.config                    </td>
                </tr>
                                <tr>
                    <td>APP_POOL_ID</td>
                    <td>
                        DefaultAppPool                    </td>
                </tr>
                                <tr>
                    <td>ChocolateyInstall</td>
                    <td>
                        C:\ProgramData\chocolatey                    </td>
                </tr>
                                <tr>
                    <td>CommonProgramFiles</td>
                    <td>
                        C:\Program Files (x86)\Common Files                    </td>
                </tr>
                                <tr>
                    <td>CommonProgramFiles(x86)</td>
                    <td>
                        C:\Program Files (x86)\Common Files                    </td>
                </tr>
                                <tr>
                    <td>CommonProgramW6432</td>
                    <td>
                        C:\Program Files\Common Files                    </td>
                </tr>
                                <tr>
                    <td>COMPUTERNAME</td>
                    <td>
                        HAIJIAOQUAN                    </td>
                </tr>
                                <tr>
                    <td>ComSpec</td>
                    <td>
                        C:\Windows\system32\cmd.exe                    </td>
                </tr>
                                <tr>
                    <td>DEFLOGDIR</td>
                    <td>
                        C:\ProgramData\McAfee\DesktopProtection                    </td>
                </tr>
                                <tr>
                    <td>FP_NO_HOST_CHECK</td>
                    <td>
                        NO                    </td>
                </tr>
                                <tr>
                    <td>LOCALAPPDATA</td>
                    <td>
                        C:\Windows\system32\config\systemprofile\AppData\Local                    </td>
                </tr>
                                <tr>
                    <td>NUMBER_OF_PROCESSORS</td>
                    <td>
                        2                    </td>
                </tr>
                                <tr>
                    <td>OS</td>
                    <td>
                        Windows_NT                    </td>
                </tr>
                                <tr>
                    <td>Path</td>
                    <td>
                        C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin;D:\phpstudy\Redis\;C:\Program Files\VisualSVN Server\bin;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft\Web Platform Installer\;C:\ProgramData\chocolatey\bin;D:\phpstudy\php\php-5.6.27-nts;C:\Program Files (x86)\Bitvise SSH Client;                    </td>
                </tr>
                                <tr>
                    <td>PATHEXT</td>
                    <td>
                        .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC                    </td>
                </tr>
                                <tr>
                    <td>PROCESSOR_ARCHITECTURE</td>
                    <td>
                        x86                    </td>
                </tr>
                                <tr>
                    <td>PROCESSOR_ARCHITEW6432</td>
                    <td>
                        AMD64                    </td>
                </tr>
                                <tr>
                    <td>PROCESSOR_IDENTIFIER</td>
                    <td>
                        Intel64 Family 6 Model 85 Stepping 4, GenuineIntel                    </td>
                </tr>
                                <tr>
                    <td>PROCESSOR_LEVEL</td>
                    <td>
                        6                    </td>
                </tr>
                                <tr>
                    <td>PROCESSOR_REVISION</td>
                    <td>
                        5504                    </td>
                </tr>
                                <tr>
                    <td>ProgramData</td>
                    <td>
                        C:\ProgramData                    </td>
                </tr>
                                <tr>
                    <td>ProgramFiles</td>
                    <td>
                        C:\Program Files (x86)                    </td>
                </tr>
                                <tr>
                    <td>ProgramFiles(x86)</td>
                    <td>
                        C:\Program Files (x86)                    </td>
                </tr>
                                <tr>
                    <td>ProgramW6432</td>
                    <td>
                        C:\Program Files                    </td>
                </tr>
                                <tr>
                    <td>PSModulePath</td>
                    <td>
                        C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files\VisualSVN Server\PowerShellModules                    </td>
                </tr>
                                <tr>
                    <td>PUBLIC</td>
                    <td>
                        C:\Users\Public                    </td>
                </tr>
                                <tr>
                    <td>SystemDrive</td>
                    <td>
                        C:                    </td>
                </tr>
                                <tr>
                    <td>SystemRoot</td>
                    <td>
                        C:\Windows                    </td>
                </tr>
                                <tr>
                    <td>TEMP</td>
                    <td>
                        C:\Windows\TEMP                    </td>
                </tr>
                                <tr>
                    <td>TMP</td>
                    <td>
                        C:\Windows\TEMP                    </td>
                </tr>
                                <tr>
                    <td>USERDOMAIN</td>
                    <td>
                        WORKGROUP                    </td>
                </tr>
                                <tr>
                    <td>USERNAME</td>
                    <td>
                        HAIJIAOQUAN$                    </td>
                </tr>
                                <tr>
                    <td>USERPROFILE</td>
                    <td>
                        C:\Windows\system32\config\systemprofile                    </td>
                </tr>
                                <tr>
                    <td>VISUALSVN_SERVER</td>
                    <td>
                        C:\Program Files\VisualSVN Server\                    </td>
                </tr>
                                <tr>
                    <td>VSEDEFLOGDIR</td>
                    <td>
                        C:\ProgramData\McAfee\DesktopProtection                    </td>
                </tr>
                                <tr>
                    <td>windir</td>
                    <td>
                        C:\Windows                    </td>
                </tr>
                                <tr>
                    <td>windows_tracing_flags</td>
                    <td>
                        3                    </td>
                </tr>
                                <tr>
                    <td>windows_tracing_logfile</td>
                    <td>
                        C:\BVTBin\Tests\installpackage\csilogfile.log                    </td>
                </tr>
                                <tr>
                    <td>ORIG_PATH_INFO</td>
                    <td>
                        /index.php/css/css.css                    </td>
                </tr>
                                <tr>
                    <td>URL</td>
                    <td>
                        /index.php                    </td>
                </tr>
                                <tr>
                    <td>SERVER_SOFTWARE</td>
                    <td>
                        Microsoft-IIS/7.5                    </td>
                </tr>
                                <tr>
                    <td>SERVER_PROTOCOL</td>
                    <td>
                        HTTP/1.1                    </td>
                </tr>
                                <tr>
                    <td>SERVER_PORT_SECURE</td>
                    <td>
                        0                    </td>
                </tr>
                                <tr>
                    <td>SERVER_PORT</td>
                    <td>
                        80                    </td>
                </tr>
                                <tr>
                    <td>SERVER_NAME</td>
                    <td>
                                            </td>
                </tr>
                                <tr>
                    <td>SCRIPT_NAME</td>
                    <td>
                        /index.php                    </td>
                </tr>
                                <tr>
                    <td>SCRIPT_FILENAME</td>
                    <td>
                        D:\WebSite\main\wwwroot\index.php                    </td>
                </tr>
                                <tr>
                    <td>REQUEST_URI</td>
                    <td>
                        /css/css.css                    </td>
                </tr>
                                <tr>
                    <td>REQUEST_METHOD</td>
                    <td>
                        GET                    </td>
                </tr>
                                <tr>
                    <td>REMOTE_USER</td>
                    <td>
                                            </td>
                </tr>
                                <tr>
                    <td>REMOTE_PORT</td>
                    <td>
                        52902                    </td>
                </tr>
                                <tr>
                    <td>REMOTE_HOST</td>
                    <td>
                        216.172.154.250                    </td>
                </tr>
                                <tr>
                    <td>REMOTE_ADDR</td>
                    <td>
                        216.172.154.250                    </td>
                </tr>
                                <tr>
                    <td>QUERY_STRING</td>
                    <td>
                                            </td>
                </tr>
                                <tr>
                    <td>PATH_TRANSLATED</td>
                    <td>
                        D:\WebSite\main\wwwroot\index.php\css\css.css                    </td>
                </tr>
                                <tr>
                    <td>PATH_INFO</td>
                    <td>
                        /css/css.css                    </td>
                </tr>
                                <tr>
                    <td>LOGON_USER</td>
                    <td>
                                            </td>
                </tr>
                                <tr>
                    <td>LOCAL_ADDR</td>
                    <td>
                        172.18.77.126                    </td>
                </tr>
                                <tr>
                    <td>INSTANCE_META_PATH</td>
                    <td>
                        /LM/W3SVC/5                    </td>
                </tr>
                                <tr>
                    <td>INSTANCE_NAME</td>
                    <td>
                        MAIN                    </td>
                </tr>
                                <tr>
                    <td>INSTANCE_ID</td>
                    <td>
                        5                    </td>
                </tr>
                                <tr>
                    <td>HTTPS_SERVER_SUBJECT</td>
                    <td>
                                            </td>
                </tr>
                                <tr>
                    <td>HTTPS_SERVER_ISSUER</td>
                    <td>
                                            </td>
                </tr>
                                <tr>
                    <td>HTTPS_SECRETKEYSIZE</td>
                    <td>
                                            </td>
                </tr>
                                <tr>
                    <td>HTTPS_KEYSIZE</td>
                    <td>
                                            </td>
                </tr>
                                <tr>
                    <td>HTTPS</td>
                    <td>
                        off                    </td>
                </tr>
                                <tr>
                    <td>GATEWAY_INTERFACE</td>
                    <td>
                        CGI/1.1                    </td>
                </tr>
                                <tr>
                    <td>DOCUMENT_ROOT</td>
                    <td>
                        D:\WebSite\main\wwwroot                    </td>
                </tr>
                                <tr>
                    <td>CONTENT_TYPE</td>
                    <td>
                        application/x-www-form-urlencoded; charset=utf-8                    </td>
                </tr>
                                <tr>
                    <td>CONTENT_LENGTH</td>
                    <td>
                        0                    </td>
                </tr>
                                <tr>
                    <td>CERT_SUBJECT</td>
                    <td>
                                            </td>
                </tr>
                                <tr>
                    <td>CERT_SERIALNUMBER</td>
                    <td>
                                            </td>
                </tr>
                                <tr>
                    <td>CERT_ISSUER</td>
                    <td>
                                            </td>
                </tr>
                                <tr>
                    <td>CERT_FLAGS</td>
                    <td>
                                            </td>
                </tr>
                                <tr>
                    <td>CERT_COOKIE</td>
                    <td>
                                            </td>
                </tr>
                                <tr>
                    <td>AUTH_USER</td>
                    <td>
                                            </td>
                </tr>
                                <tr>
                    <td>AUTH_PASSWORD</td>
                    <td>
                                            </td>
                </tr>
                                <tr>
                    <td>AUTH_TYPE</td>
                    <td>
                                            </td>
                </tr>
                                <tr>
                    <td>APPL_PHYSICAL_PATH</td>
                    <td>
                        D:\WebSite\main\wwwroot\                    </td>
                </tr>
                                <tr>
                    <td>APPL_MD_PATH</td>
                    <td>
                        /LM/W3SVC/5/ROOT                    </td>
                </tr>
                                <tr>
                    <td>IIS_UrlRewriteModule</td>
                    <td>
                        7,1,1993,2336                    </td>
                </tr>
                                <tr>
                    <td>UNENCODED_URL</td>
                    <td>
                        /css/css.css                    </td>
                </tr>
                                <tr>
                    <td>IIS_WasUrlRewritten</td>
                    <td>
                        1                    </td>
                </tr>
                                <tr>
                    <td>HTTP_X_ORIGINAL_URL</td>
                    <td>
                        /css/css.css                    </td>
                </tr>
                                <tr>
                    <td>HTTP_X_MICROSOFTAJAX</td>
                    <td>
                        Delta=true                    </td>
                </tr>
                                <tr>
                    <td>HTTP_X_APPLE_STORE_FRONT</td>
                    <td>
                        143444,12                    </td>
                </tr>
                                <tr>
                    <td>HTTP_X_APPLE_TZ</td>
                    <td>
                        0                    </td>
                </tr>
                                <tr>
                    <td>HTTP_USER_AGENT</td>
                    <td>
                        Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0)                    </td>
                </tr>
                                <tr>
                    <td>HTTP_REFERER</td>
                    <td>
                        http://www.baidu.com/search/spider.htm                    </td>
                </tr>
                                <tr>
                    <td>HTTP_HOST</td>
                    <td>
                                            </td>
                </tr>
                                <tr>
                    <td>HTTP_ACCEPT_LANGUAGE</td>
                    <td>
                        en-US,en;q=0.5                    </td>
                </tr>
                                <tr>
                    <td>HTTP_ACCEPT_ENCODING</td>
                    <td>
                        gzip, deflate                    </td>
                </tr>
                                <tr>
                    <td>HTTP_ACCEPT</td>
                    <td>
                        text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8                    </td>
                </tr>
                                <tr>
                    <td>HTTP_CONTENT_TYPE</td>
                    <td>
                        application/x-www-form-urlencoded; charset=utf-8                    </td>
                </tr>
                                <tr>
                    <td>HTTP_CONTENT_LENGTH</td>
                    <td>
                        0                    </td>
                </tr>
                                <tr>
                    <td>HTTP_CACHE_CONTROL</td>
                    <td>
                        no-cache                    </td>
                </tr>
                                <tr>
                    <td>FCGI_ROLE</td>
                    <td>
                        RESPONDER                    </td>
                </tr>
                                <tr>
                    <td>PHP_SELF</td>
                    <td>
                        /index.php/css/css.css                    </td>
                </tr>
                                <tr>
                    <td>REQUEST_TIME_FLOAT</td>
                    <td>
                        1759634804.0261                    </td>
                </tr>
                                <tr>
                    <td>REQUEST_TIME</td>
                    <td>
                        1759634804                    </td>
                </tr>
                            </tbody>
                    </table>
                <table>
                        <caption>Environment Variables<small>empty</small></caption>
                    </table>
                <table>
                        <caption>ThinkPHP Constants</caption>
            <tbody>
                                <tr>
                    <td>QINIU_FUNCTIONS_VERSION</td>
                    <td>
                        7.2.3                    </td>
                </tr>
                            </tbody>
                    </table>
            </div>
    
    <div class="copyright">
        <a title="官方网站" href="http://www.thinkphp.cn">ThinkPHP</a> 
        <span>V5.1.41 LTS</span> 
        <span>{ 十年磨一剑-为API开发设计的高性能框架 }</span>
    </div>
        <script>
        var LINE = 62;

        function $(selector, node){
            var elements;

            node = node || document;
            if(document.querySelectorAll){
                elements = node.querySelectorAll(selector);
            } else {
                switch(selector.substr(0, 1)){
                    case '#':
                        elements = [node.getElementById(selector.substr(1))];
                        break;
                    case '.':
                        if(document.getElementsByClassName){
                            elements = node.getElementsByClassName(selector.substr(1));
                        } else {
                            elements = get_elements_by_class(selector.substr(1), node);
                        }
                        break;
                    default:
                        elements = node.getElementsByTagName();
                }
            }
            return elements;

            function get_elements_by_class(search_class, node, tag) {
                var elements = [], eles, 
                    pattern  = new RegExp('(^|\\s)' + search_class + '(\\s|$)');

                node = node || document;
                tag  = tag  || '*';

                eles = node.getElementsByTagName(tag);
                for(var i = 0; i < eles.length; i++) {
                    if(pattern.test(eles[i].className)) {
                        elements.push(eles[i])
                    }
                }

                return elements;
            }
        }

        $.getScript = function(src, func){
            var script = document.createElement('script');
            
            script.async  = 'async';
            script.src    = src;
            script.onload = func || function(){};
            
            $('head')[0].appendChild(script);
        }

        ;(function(){
            var files = $('.toggle');
            var ol    = $('ol', $('.prettyprint')[0]);
            var li    = $('li', ol[0]);   

            // 短路径和长路径变换
            for(var i = 0; i < files.length; i++){
                files[i].ondblclick = function(){
                    var title = this.title;

                    this.title = this.innerHTML;
                    this.innerHTML = title;
                }
            }

            // 设置出错行
            var err_line = $('.line-' + LINE, ol[0])[0];
            err_line.className = err_line.className + ' line-error';

            $.getScript('//cdn.bootcss.com/prettify/r298/prettify.min.js', function(){
                prettyPrint();

                // 解决Firefox浏览器一个很诡异的问题
                // 当代码高亮后，ol的行号莫名其妙的错位
                // 但是只要刷新li里面的html重新渲染就没有问题了
                if(window.navigator.userAgent.indexOf('Firefox') >= 0){
                    ol[0].innerHTML = ol[0].innerHTML;
                }
            });

        })();
    </script>
    </body>
</html>
