Przeglądaj źródła

improvement on goEar detection

pecesama 18 lat temu
rodzic
commit
1fa054c489
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      classes/functions.php

+ 1 - 1
classes/functions.php Wyświetl plik

63
 	}
63
 	}
64
 	
64
 	
65
 	function isGoEar($songUrl) {
65
 	function isGoEar($songUrl) {
66
-		if (beginsWith($songUrl, "http://www.goear.com/listen.php?v="))
66
+		if (beginsWith($songUrl, "http://www.goear.com/listen.php?v=") || beginsWith($songUrl, "http://goear.com/listen.php?v="))
67
 			return true;
67
 			return true;
68
 		else
68
 		else
69
 			return false;
69
 			return false;