#117 | public function user_url($action = 'index', $control = 'user', $page = false, $extra = array()){ |
#118 | //使用相对URL |
#119 | if(isset($this->cfg['url_path']) && !empty($this->cfg['url_path'])){ |
#120 | $this->cfg['weburl'] = $this->cfg['webdir']; |
#121 | } |
#122 | $allow_control = array('user', 'my'); |
#123 | |
#124 | |
#125 | |
#126 | if(!in_array($control, $allow_control)){ |