wok-6.x diff zerobin/stuff/zerobin.u @ rev 24831

updated libsndfile and libsndfile-dev (1.0.28 -> 1.0.31)
author Hans-G?nter Theisgen
date Thu Mar 24 07:19:38 2022 +0100 (2022-03-24)
parents 8fd5d4c953f6
children
line diff
     1.1 --- a/zerobin/stuff/zerobin.u	Tue Oct 04 15:58:11 2016 +0200
     1.2 +++ b/zerobin/stuff/zerobin.u	Thu Mar 24 07:19:38 2022 +0100
     1.3 @@ -6,8 +6,8 @@
     1.4   
     1.5  +function remote_address()
     1.6  +{
     1.7 -+	// if (isset($_SERVER["HTTP_X_FORWARDED_FOR"]))
     1.8 -+	//	return $_SERVER["HTTP_X_FORWARDED_FOR"];
     1.9 ++	if (isset($_SERVER["HTTP_X_FORWARDED_FOR"]))
    1.10 ++		return $_SERVER["HTTP_X_FORWARDED_FOR"];
    1.11  +	return $_SERVER["REMOTE_ADDR"];
    1.12  +}
    1.13  +