Added android to hey theres an app for that

This commit is contained in:
arzynik 2014-08-16 14:55:29 -07:00
parent fbb77e402d
commit a5750c2baf

View File

@ -438,7 +438,7 @@ class Crunchbutton_App extends Cana_App {
}
public function isDownloadable() {
if (preg_match('/ios|iphone|ipad/i',$_SERVER['HTTP_USER_AGENT']) && !$_COOKIE['_viewmobile2']) {
if (preg_match('/ios|iphone|ipad|android/i',$_SERVER['HTTP_USER_AGENT']) && !$_COOKIE['_viewmobile2']) {
return true;
} else {
return false;