#333 | //使用相对URL |
#334 | if(isset($this->cfg['url_path']) && !empty($this->cfg['url_path'])){ |
#335 | $this->cfg['weburl'] = $this->cfg['webdir']; |
#336 | } |
#337 | // hook urls_model_price_url_before.php |
#338 | if(empty($_ENV['_config']['toolcms_parseurl'])) { |
#339 | $s = $page ? '-page-{page}' : ''; |
#340 | return $this->cfg['weburl'].'index.php?price--mid-'.$mid.'-corewords-'.urlencode($corewords).$s.$_ENV['_config']['url_suffix']; |
#341 | }else{ |
#342 | // hook urls_model_price_url_toolcms_parseurl_before.php |