diff --git a/index.php b/index.php index e03928c..d7bd7b8 100644 --- a/index.php +++ b/index.php @@ -75,6 +75,10 @@ if (preg_match('/^(login).*/', $this->control_func)) { $needlogin = false; } + } elseif ($this->control_name == 'weibo') { + if (preg_match('/^(show_detail).*/', $this->control_func)) { + $needlogin = false; + } }elseif($this->control_name == 'callback'){ $needlogin = false; }