fix platform detector

This commit is contained in:
codepoet80 committed 2021-06-07 17:39:53 -04:00
1 parent 1608cedaa0
commit ce553b844a
1 file changed
+2
+2
View File
@@ -17,6 +17,8 @@
<table width="100%" height="95%" style="padding-bottom: 20px;"><tr><td width="100%"align="center" valign="middle">
<div style='max-width: 520px; color: dimgray; margin-bottom: 20px; margin-top: 10px; padding-left: 24px; padding-right: 24px; font-size: smaller'>
<?php
//Show appropriate instructions for platform
$client = strtolower($_SERVER['HTTP_USER_AGENT']);
if (strpos($client, "hpwos") || strpos($client, "webos")) {
echo "Welcome webOS User! This sharing service was made for you in mind, but the web front-end doesn't work on your current device. Instead, you can <a href='http://appcatalog.webosarchive.com/showMuseumDetails.php?search=share+space&app=1005788'>download the native webOS App called Share Space</a>, that works on Touchpad, Pre and all the other webOS phones!";
} else {