Fix HTML background image size
[stouyapi.git] / www / push-to-my-ouya.php
index fd39043234ac4f37d876b86a0f854eeb87215c3c..12c9077b249109f4d0a3a5277d26eac862aa6348 100644 (file)
@@ -56,15 +56,6 @@ if ($ip == '') {
     echo 'Cannot detect your IP address' . "\n";
     exit(1);
 }
     echo 'Cannot detect your IP address' . "\n";
     exit(1);
 }
-if (strpos($ip, ':') !== false) {
-    header('HTTP/1.0 400 Bad Request');
-    header('Content-type: text/plain');
-    echo 'Sorry, IPv6 is not supported' . "\n";
-    echo 'This here only works if the OUYA and your PC have the same IP address,'
-        . "\n";
-    echo 'and this is definitely not the case when using IPv6' . "\n";
-    exit(1);
-}
 $ip = mapIp($ip);
 
 try {
 $ip = mapIp($ip);
 
 try {