slitaz-forge rev 669

scn: fix sdt return IP (silly typo) was usinf testing code (thanks paul)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Mar 01 11:09:44 2017 +0100 (9 months ago)
parents 40599a93e026
children eba0a55fb53b
files scn/plugins/sdt/sdt.cgi
line diff
     1.1 --- a/scn/plugins/sdt/sdt.cgi	Tue Feb 28 13:12:45 2017 +0100
     1.2 +++ b/scn/plugins/sdt/sdt.cgi	Wed Mar 01 11:09:44 2017 +0100
     1.3 @@ -84,8 +84,7 @@
     1.4  	*\ geoloc\ *) 
     1.5  		# Show IP and country
     1.6  		header "Content-Type: text/plain"
     1.7 -		#echo "$REMOTE_ADDR"
     1.8 -		echo "178.196.15.131" 
     1.9 +		echo "$REMOTE_ADDR"
    1.10  		exit 0 ;;
    1.11  	
    1.12  	*\ country\ *) 
    1.13 @@ -100,8 +99,7 @@
    1.14  		cat << EOT
    1.15  <h2>$d</h2>
    1.16  <p>
    1.17 -	$(gettext "Add your SliTaz distro to the database to help us to know who uses
    1.18 -	SliTaz :-) Open a terminal and execute:") 
    1.19 +	$(gettext "Add your SliTaz distro to the database. Open a terminal and execute:") 
    1.20  	<b>sdt send [username]</b>
    1.21  <p>
    1.22  EOT