ory_url($cfg = array(), $uri = ''){ //分类信息 alias=>cid $cate_arr = array_flip($cfg['cate_arr']); // 分类URL未设置后缀的情况,301重定向到已设置后缀的URL if( isset($cate_arr[$uri]) ) { http_location($cfg['weburl'].$uri.$cfg['link_cate_end'], '301'); } $_GET['control'] = 'cate'; $_GET['action'] = 'index'; $len = strlen($cfg['link_cate_end']); //分页首页URL if(substr($uri, -$len) == $cfg['link_cate_end']) { $newurl = substr($uri, 0, -$len); if( isset($cate_arr[$newurl]) ) { $_GET['cid'] = (int)$cate_arr[$newurl]; return true; } } //分类URL分页的情况 if(strpos($uri, $cfg['link_cate_page_pre']) !== FALSE) { $len = strlen($cfg['link_cate_page_end']); if(substr($uri, -$len) == $cfg['link_cate_page_end']) { $newurl = substr($uri, 0, -$len); $u_arr = explode($cfg['link_cate_page_pre'], $newurl); if( isset($cate_arr[$u_arr[0]]) ) { $_GET['cid'] = (int)$cate_arr[$u_arr[0]]; //分页 if( isset($u_arr[1]) ){ if($this->integer_check($u_arr[1])){ $_GET['page'] = $u_arr[1]; }else{ core::error404(); } } return true; } } } unset($_GET['control']); unset($_GET['action']); return false; } //内容URL解析 protected function content_url($cfg = array(), $uri = ''){ $link_show_end = $cfg['link_show_end']; $link_show_end_len = strlen($link_show_end); $cate_arr = array_flip($cfg['cate_arr']); $newurl = $link_show_end_len ? substr($uri, 0, -$link_show_end_len) : $uri; $_GET['control'] = 'show'; $_GET['action'] = 'index'; switch ($cfg['link_show_type']){ case 1: //数字型 preg_match("/^(\d+)\/(\d+)$/i", $newurl, $mat); if( isset($mat[2]) ){ $_GET['cid'] = $mat[1]; $_GET['id'] = $mat[2]; return true; } break; case 2: //推荐型 preg_match("/^(\w+)\/(\d+)$/i", $newurl, $mat); if( isset($mat[2]) && isset($cate_arr[$mat[1]]) ){ $_GET['cid'] = $cate_arr[$mat[1]]; $_GET['id'] = $mat[2]; return true; } break; case 3: //别名型 preg_match("/^(\d+)\_(\d+)$/i", $newurl, $mat); //没有设置别名,将用 cid_id 组合 if( isset($mat[2]) ) { $_GET['cid'] = $mat[1]; $_GET['id'] = $mat[2]; return true; }elseif( preg_match('/^[a-zA-Z0-9-_]+$/i', $newurl) ) { $row = $this->only_alias->get($newurl); if( !empty($row) ) { $_GET['cid'] = $row['cid']; $_GET['id'] = $row['id']; return true; } } break; case 4: //加密型 $newurl = decrypt($newurl);//解密得到 cid_id preg_match("/^(\d+)\_(\d+)$/i", $newurl, $mat); if( isset($mat[2]) ) { $_GET['cid'] = $mat[1]; $_GET['id'] = $mat[2]; return true; } break; case 5: //ID型 if($this->integer_check($newurl)){ $_GET['mid'] = 2; $_GET['id'] = $newurl; return true; } preg_match("/^(\d+)\_(\d+)$/i", $newurl, $mat); if( isset($mat[2]) ) { if( !$this->mid_check($mat[1], $cfg) ){core::error404();} $_GET['mid'] = $mat[1]; $_GET['id'] = $mat[2]; return true; } break; case 6: //别名组合型 $u_arr = explode('/', $newurl); if( isset($u_arr[1]) && isset($cate_arr[$u_arr[0]]) ){ $cid = (int)$cate_arr[$u_arr[0]]; // 如果没有设置别名,将用 cid_id 组合 preg_match("/^(\d+)\_(\d+)$/i", $u_arr[1], $mat); if(isset($mat[2]) && $mat[1] == $cid) { $_GET['cid'] = $mat[1]; $_GET['id'] = $mat[2]; return true; }elseif(preg_match('/^[a-zA-Z0-9-_]+$/i', $u_arr[1])) { $row = $this->only_alias->get($u_arr[1]); if(!empty($row) && $row['cid'] == $cid) { $_GET['cid'] = $row['cid']; $_GET['id'] = $row['id']; return true; } } } break; case 7: //灵活型 $quote = preg_quote($cfg['link_show'], '#'); $quote = strtr($quote, array( '\{cid\}' => '(?\d+)', '\{mid\}' => '(?\d+)', '\{id\}' => '(?\d+)', '\{alias\}' => '(?\w+)', '\{cate_alias\}' => '(?\w+)', '\{password\}' => '(?\w+)', '\{ymd\}' => '(?\d{8})', '\{y\}' => '(?\d{4})', '\{m\}' => '(?\d{2})', '\{d\}' => '(?\d{2})', '\{auth_key\}' => '(?\w+)', '\{hashids\}' => '(?\w+)' )); preg_match('#'.$quote.'#', $uri, $mat); if($mat){ //用于control验证日期 isset($mat['ymd']) AND $_GET['date_ymd'] = $mat['ymd']; isset($mat['y']) AND $_GET['date_y'] = $mat['y']; isset($mat['m']) AND $_GET['date_m'] = $mat['m']; isset($mat['d']) AND $_GET['date_d'] = $mat['d']; $auth_key = $_ENV['_config']['auth_key']; if( isset($mat['auth_key']) && $mat['auth_key'] != substr(md5($auth_key), 0, 6) ){ core::error404(); } if( isset($mat['cid']) && isset($mat['id']) ) { // {cid} {id} 合组 $_GET['cid'] = $mat['cid']; $_GET['id'] = $mat['id']; return true; }elseif( isset($mat['mid']) && isset($mat['id']) && $this->mid_check($mat['mid'], $cfg) ) { // {mid} {id} 合组 $_GET['mid'] = $mat['mid']; $_GET['id'] = $mat['id']; return true; }elseif( isset($mat['cate_alias']) && isset($mat['id']) ) { // {cate_alias} {id} 合组 $_GET['cid'] = isset($cate_arr[$mat['cate_alias']]) ? $cate_arr[$mat['cate_alias']] : 0; empty($_GET['cid']) && core::error404(); $_GET['id'] = $mat['id']; return true; }elseif( isset($mat['password']) ) { // {password} $newurl = decryp Lecms 3.0.3 lang[error]

lang[error_info]

  • lang[exception_message]: [程序异常] : 类 parseurl_control 不存在
  • lang[exception_file]: /www/wwwroot/www.cuanding.com/lecms/xiunophp/lib/core.class.php
  • lang[exception_line]: lang[exception_lines]

lang[error_line]

    #111        }elseif(is_file(FRAMEWORK_PATH.'ext/network/'.$classname.'.php')) {
    #112            include FRAMEWORK_PATH.'ext/network/'.$classname.'.php';
    #113        }else{
    #114            if(!defined('VENDOR')){
    #115                throw new Exception("类 $classname 不存在");
    #116            }
    #117        }
    #118        DEBUG && $_ENV['_include'][] = $classname.' 类';
    #119        return class_exists($classname, false);
    #120    }

lang[basic_trace]

  • lang[model_trace]: /www/wwwroot/www.cuanding.com/lecms/model/
  • lang[view_trace]: /www/wwwroot/www.cuanding.com/view/default/
  • lang[control_trace]: /www/wwwroot/www.cuanding.com/lecms/control/_control.class.php
  • lang[logs_trace]: /www/wwwroot/www.cuanding.com/runcache/logs/

lang[program_flow]

  • #0 [internal function]: core::autoload_handler()
  • #1 /www/wwwroot/www.cuanding.com/lecms/xiunophp/lib/core.class.php(196): spl_autoload_call()
  • #2 /www/wwwroot/www.cuanding.com/lecms/xiunophp/lib/core.class.php(125): core::parseurl_control()
  • #3 /www/wwwroot/www.cuanding.com/lecms/xiunophp/lib/core.class.php(10): core::init_get()
  • #4 /www/wwwroot/www.cuanding.com/lecms/xiunophp/xiunophp.php(100): core::init_start()
  • #5 /www/wwwroot/www.cuanding.com/index.php(20): require('/www/wwwroot/ww...')
  • #6 {main}

SQL

    $_GET

    • #rewrite => zh-tw/usd-cny/50.html

    $_POST

      $_COOKIE

        lang[include_file]

        • #0 /www/wwwroot/www.cuanding.com/index.php
        • #1 /www/wwwroot/www.cuanding.com/lecms/xiunophp/xiunophp.php
        • #2 /www/wwwroot/www.cuanding.com/lecms/config/config.inc.php
        • #3 /www/wwwroot/www.cuanding.com/lecms/xiunophp/lib/base.func.php
        • #4 /www/wwwroot/www.cuanding.com/lecms/xiunophp/lib/core.class.php
        • #5 /www/wwwroot/www.cuanding.com/lecms/xiunophp/lib/debug.class.php
        • #6 /www/wwwroot/www.cuanding.com/lecms/xiunophp/lib/log.class.php
        • #7 /www/wwwroot/www.cuanding.com/lecms/xiunophp/lib/model.class.php
        • #8 /www/wwwroot/www.cuanding.com/lecms/xiunophp/lib/view.class.php
        • #9 /www/wwwroot/www.cuanding.com/lecms/xiunophp/lib/control.class.php
        • #10 /www/wwwroot/www.cuanding.com/lecms/xiunophp/db/db.interface.php
        • #11 /www/wwwroot/www.cuanding.com/lecms/xiunophp/db/db_pdo_mysql.class.php
        • #12 /www/wwwroot/www.cuanding.com/lecms/xiunophp/cache/cache.interface.php
        • #13 /www/wwwroot/www.cuanding.com/lecms/xiunophp/cache/cache_memcache.class.php
        • #14 /www/wwwroot/www.cuanding.com/lecms/xiunophp/ext/network/Network__interface.php
        • #15 /www/wwwroot/www.cuanding.com/lecms/config/plugin.inc.php
        • #16 /www/wwwroot/www.cuanding.com/lecms/plugin/editor_um/conf.php
        • #17 /www/wwwroot/www.cuanding.com/lecms/plugin/le_huilv_morelang/conf.php
        • #18 /www/wwwroot/www.cuanding.com/lecms/plugin/le_links/conf.php
        • #19 /www/wwwroot/www.cuanding.com/runcache/misc.func.php
        • #20 /www/wwwroot/www.cuanding.com/runcache/core_lang/zh-cn.php
        • #21 /www/wwwroot/www.cuanding.com/runcache/lang/zh-cn.php
        • #22 /www/wwwroot/www.cuanding.com/runcache/lecms_control/parseurl_control.class.php
        • #23 /www/wwwroot/www.cuanding.com/lecms/xiunophp/tpl/exception.php

        lang[other_trace]

        • lang[request_uri_trace]: /zh-tw/usd-cny/50.html
        • lang[time_trace]: 2025-10-15 11:20:38
        • lang[ip_trace]: 216.73.216.165
        • lang[runtime_trace]: 0.0582
        • lang[runmen_trace]: 761.05 KB
          Lecms 3.0.3