From 1fa054c489f529638ac99ab3c3afbe8022fa0868 Mon Sep 17 00:00:00 2001 From: pecesama Date: Tue, 15 Jan 2008 23:46:56 +0000 Subject: [PATCH] improvement on goEar detection --- classes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/functions.php b/classes/functions.php index c40e21c..8422455 100644 --- a/classes/functions.php +++ b/classes/functions.php @@ -63,7 +63,7 @@ if(!defined('entry') || !entry) die('Not a valid page'); } function isGoEar($songUrl) { - if (beginsWith($songUrl, "http://www.goear.com/listen.php?v=")) + if (beginsWith($songUrl, "http://www.goear.com/listen.php?v=") || beginsWith($songUrl, "http://goear.com/listen.php?v=")) return true; else return false;