This commit is contained in:
wangyidong
2016-12-26 14:54:04 +08:00
parent f01a1a2320
commit 0a061c6f06
8 changed files with 73 additions and 52 deletions
+4 -1
View File
@@ -711,7 +711,10 @@ class user extends control
{
$url = html_entity_decode($this->post->referer);
$param = substr($url, strrpos($url, '?') + 1);
list($module, $method) = explode('&', $param);
$module = $this->config->default->module;
$method = $this->config->default->method;
if(strpos($param, '&') !== false) list($module, $method) = explode('&', $param);
$module = str_replace('m=', '', $module);
$method = str_replace('f=', '', $method);
}