* fix bug: adjust the account is guest when open the authority of

* ajaxGetDropMenu.
This commit is contained in:
azhi
2013-08-12 09:08:14 +08:00
parent 44d3287bbf
commit 9d1a5f3130
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ class commonModel extends model
if(stripos($method, 'downnotify') !== false) return true;
}
if(stripos($method, 'ajaxgetdropmenu') !== false) return true;
if(stripos($method, 'ajaxgetdropmenu') !== false and $this->app->user->account == 'guest') return true;
if($module == 'misc' and $method == 'qrcode') return true;
if($module == 'misc' and $method == 'about') return true;
if($module == 'misc' and $method == 'checkupdate') return true;