瀏覽代碼

improvement on goEar detection

pecesama 16 年之前
父節點
當前提交
1fa054c489
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      classes/functions.php

+ 1 - 1
classes/functions.php 查看文件

@@ -63,7 +63,7 @@ if(!defined('entry') || !entry) die('Not a valid page');
63 63
 	}
64 64
 	
65 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 67
 			return true;
68 68
 		else
69 69
 			return false;