CHttpRequest::getUserHostAddress() is not static #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created at: 25.09.2015 21:31
Created by: ErikMinekus
When PHP is in strict mode, CGeoIP.php#L90 throws an error. It should be
Imported comments:
By dlage on 2013-06-01 20:12:55 UTC
Thank you. Fixed in:
591383f287By mrccao on 2015-02-06 06:12:03 UTC
CHttpRequest::getUserHostAddress() Suitable for linux
Yii::app()->getRequest()->getUserHostAddress() Suitable for all