set_remote_ip( self::$ip ); } } } private static function initWeiboOAuth(){ if( !self::$weiboOAuth ){ include_once( "saetv2.ex.class.php" ); self::$weiboOAuth = new SaeTOAuthV2( self::$akey, self::$skey, self::$access_token, self::$refresh_token ); if( self::$ip ){ self::$weiboOAuth->remote_ip = self::$ip; } } } }