| #1365 | |
| #1366 | return $url; |
| #1367 | } |
| #1368 | |
| #1369 | //用户模块相关URL,只涉及 user-xxx 或者 my-xxx(为了兼容旧版本的插件使用该函数, 新的开发请使用 urls_model里面的该函数) |
| #1370 | public function user_url($action = 'index', $control = 'user', $page = false, $extra = array()){ |
| #1371 | //使用相对URL |
| #1372 | if(isset($this->cfg['url_path']) && !empty($this->cfg['url_path'])){ |
| #1373 | $this->cfg['weburl'] = $this->cfg['webdir']; |
| #1374 | } |