Sfoglia il codice sorgente

improvement on goEar detection

pecesama 18 anni fa
parent
commit
1fa054c489
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      classes/functions.php

+ 1 - 1
classes/functions.php Vedi File

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;