ay_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 = decrypt($mat['password']);//解密得到 cid_id preg_match("/^(\d+)\_(\d+)$/i", $newurl, strlen($cfg['link_comment_pre']); if(substr($uri, 0, $len) == $cfg['link_comment_pre']) { $url_suffix = isset($_ENV['_config']['url_suffix']) ? $_ENV['_config']['url_suffix'] : '.html'; $url_suffix_len = strlen($url_suffix); if(substr($uri, -$url_suffix_len) == $url_suffix) { $newurl = substr($uri, $len, -$url_suffix_len); $u_arr = explode('_', $newurl); if(count($u_arr) > 1) { $_GET['control'] = 'comment'; $_GET['action'] = 'index'; $_GET['cid'] = $u_arr[0]; $_GET['id'] = $u_arr[1]; //分页 if(isset($u_arr[2])){ if($this->integer_check($u_arr[2])){ $_GET['page'] = $u_arr[2]; }else{ core::error404(); } } return true; } } } return false; } //首页分页URL解析 protected function index_page_url($cfg = array(), $uri = ''){ $url_suffix = isset($_ENV['_config']['url_suffix']) ? $_ENV['_config']['url_suffix'] : '.html'; $url_suffix_len = strlen($url_suffix); if(substr($uri, 0, 6) == 'index_' && substr($uri, -$url_suffix_len) == $url_suffix) { $newurl = substr($uri, 0, -$url_suffix_len); preg_match("/^index_(\d+)$/i", $newurl, $mat); if( isset($mat[1]) ){ if(!$this->integer_check($mat[1])){core::error404();} $_GET['control'] = 'index'; $_GET['action'] = 'index'; $_GET['mid'] = 2; $_GET['page'] = $mat[1]; return true; } preg_match("/^index_(\d+)_(\d+)$/i", $newurl, $mat); if( isset($mat[2]) ){ if(!$this->mid_check($mat[1], $cfg)){core::error404();} if(!$this->integer_check($mat[2])){core::error404();} $_GET['control'] = 'index'; $_GET['action'] = 'index'; $_GET['mid'] = $mat[1]; $_GET['page'] = $mat[2]; return true; } } return false; } //热门标签 全部标签 URL解析 protected function tag_like_url($cfg = array(), $uri = ''){ // 热门标签 if($uri == $cfg['link_tag_top'] || $uri == $cfg['link_tag_top'].'/') { if($uri == $cfg['link_tag_top']){ http_location($cfg['weburl'].$uri.'/', '301'); } $_GET['control'] = 'tag'; $_GET['action'] = 'top'; return true; } //全部标签 if(substr($uri, 0, 8) == 'tag_all/' || substr($uri, 0, 7) == 'tag_all'){ if(substr($uri, -1) != '/'){ http_location($cfg['weburl'].$uri.'/', '301'); } $u_arr = explode('/', $uri); if($u_arr[0] != 'tag_all'){ core::error404(); }else{ unset($u_arr); } $_GET['control'] = 'tag'; $_GET['action'] = 'all'; $newurl = substr($uri, 8, -1); if($newurl){ if(is_numeric($newurl) && $newurl > 0){ $_GET['mid'] = 2; $_GET['page'] = $newurl; }else{ $u_arr = explode('_', $newurl); if(count($u_arr) > 2){core::error404();} if(!$this->mid_check($u_arr[0], $cfg)){core::error404();} $_GET['mid'] = $u_arr[0]; if(is_numeric($u_arr[1]) && $u_arr[1] > 0){ $_GET['page'] = $u_arr[1]; }else{ core::error404(); } } Lecms 3.0.3 lang[error]

lang[error_info]

  • lang[exception_message]: [程序异常] : 类 parseurl_control 不存在
  • lang[exception_file]: /jixie/www/www.8netcn.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]: /jixie/www/www.8netcn.com/lecms/model/
  • lang[view_trace]: /jixie/www/www.8netcn.com/view/default/
  • lang[control_trace]: /jixie/www/www.8netcn.com/lecms/control/_control.class.php
  • lang[logs_trace]: /jixie/www/www.8netcn.com/runcache/logs/

lang[program_flow]

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

SQL

    $_GET

    • #rewrite => mingzi/粱/弯妍.html

    $_POST

      $_COOKIE

      • #PHPSESSID => 291o3pockqduems2nht3l04qob

      lang[include_file]

      • #0 /jixie/www/www.8netcn.com/index.php
      • #1 /jixie/www/www.8netcn.com/lecms/xiunophp/xiunophp.php
      • #2 /jixie/www/www.8netcn.com/lecms/config/config.inc.php
      • #3 /jixie/www/www.8netcn.com/lecms/xiunophp/lib/base.func.php
      • #4 /jixie/www/www.8netcn.com/lecms/xiunophp/lib/core.class.php
      • #5 /jixie/www/www.8netcn.com/lecms/xiunophp/lib/debug.class.php
      • #6 /jixie/www/www.8netcn.com/lecms/xiunophp/lib/log.class.php
      • #7 /jixie/www/www.8netcn.com/lecms/xiunophp/lib/model.class.php
      • #8 /jixie/www/www.8netcn.com/lecms/xiunophp/lib/view.class.php
      • #9 /jixie/www/www.8netcn.com/lecms/xiunophp/lib/control.class.php
      • #10 /jixie/www/www.8netcn.com/lecms/xiunophp/db/db.interface.php
      • #11 /jixie/www/www.8netcn.com/lecms/xiunophp/db/db_pdo_mysql.class.php
      • #12 /jixie/www/www.8netcn.com/lecms/xiunophp/cache/cache.interface.php
      • #13 /jixie/www/www.8netcn.com/lecms/xiunophp/cache/cache_memcache.class.php
      • #14 /jixie/www/www.8netcn.com/lecms/xiunophp/ext/network/Network__interface.php
      • #15 /jixie/www/www.8netcn.com/lecms/config/plugin.inc.php
      • #16 /jixie/www/www.8netcn.com/lecms/plugin/editor_um/conf.php
      • #17 /jixie/www/www.8netcn.com/lecms/plugin/le_ai_qiming/conf.php
      • #18 /jixie/www/www.8netcn.com/lecms/plugin/le_category_filter/conf.php
      • #19 /jixie/www/www.8netcn.com/lecms/plugin/le_douhao_ai_article/conf.php
      • #20 /jixie/www/www.8netcn.com/lecms/plugin/le_hl/conf.php
      • #21 /jixie/www/www.8netcn.com/lecms/plugin/le_links/conf.php
      • #22 /jixie/www/www.8netcn.com/lecms/plugin/le_quming_pro/conf.php
      • #23 /jixie/www/www.8netcn.com/lecms/plugin/le_quming_pro_backup/conf.php
      • #24 /jixie/www/www.8netcn.com/lecms/plugin/le_title_pic/conf.php
      • #25 /jixie/www/www.8netcn.com/lecms/plugin/models_filed/conf.php
      • #26 /jixie/www/www.8netcn.com/runcache/misc.func.php
      • #27 /jixie/www/www.8netcn.com/runcache/core_lang/zh-cn.php
      • #28 /jixie/www/www.8netcn.com/runcache/lang/zh-cn.php
      • #29 /jixie/www/www.8netcn.com/runcache/lecms_control/parseurl_control.class.php
      • #30 /jixie/www/www.8netcn.com/lecms/xiunophp/tpl/exception.php

      lang[other_trace]

      • lang[request_uri_trace]: /mingzi/%e7%b2%b1/%e5%bc%af%e5%a6%8d.html
      • lang[time_trace]: 2026-06-11 15:03:22
      • lang[ip_trace]: 216.73.216.190
      • lang[runtime_trace]: 0.1725
      • lang[runmen_trace]: 817.98 KB
        Lecms 3.0.3