grep "updatecreditbyaction('daylogin'" -air -C 5 /var/www/html/source/
改1:
source/class/discuz/discuz_application.php
为:
650 if ($this->var['member']['credits'] > -1) {
651 updatecreditbyaction('daylogin', $this->var['uid']);
652 }
改2:
source/function/function_member.php
为:
94 # add for jifen
95 if ($_G['member']['credits'] > -1) {
96 $rule = updatecreditbyaction('daylogin', $_G['uid']);
97 if(!$rule['updatecredit']) {
98 checkusergroup($_G['uid']);
99 }
100 }
101 # end jifen