| #672 | if(substr($uri, 0, $len) == $cfg['link_comment_pre']) { |
| #673 | $url_suffix = isset($_ENV['_config']['url_suffix']) ? $_ENV['_config']['url_suffix'] : '.html'; |
| #674 | $url_suffix_len = strlen($url_suffix); |
| #675 | if(substr($uri, -$url_suffix_len) == $url_suffix) { |
| #676 | $newurl = substr($uri, $len, -$url_suffix_len); |
| #677 | $u_arr = explode('_', $newurl); |
| #678 | if(count($u_arr) > 1) { |
| #679 | $_GET['control'] = 'comment'; |
| #680 | $_GET['action'] = 'index'; |
| #681 | $_GET['cid'] = $u_arr[0]; |