mirror of https://github.com/BOINC/boinc.git
BOINC web: handle HTTPS links for add-ons correctly; fix BOINC Monitor entry
This commit is contained in:
parent
4093be9579
commit
56f3f9a482
|
@ -63,8 +63,8 @@ array(
|
|||
'BOINC Monitor',
|
||||
'',
|
||||
'A desktop gadget that shows the status of running tasks',
|
||||
'http://www.myfavoritegadgets.info/',
|
||||
'Windows Vista/7',
|
||||
'https://windows10gadgets.pro/',
|
||||
'Windows Vista/7/8.1/10',
|
||||
'BOINC Monitor shows BOINC tasks progress. Resizable! Save settings to file. Color changeable for all gadget\'s elements, include background. You can add new BOINC projects in XML list file.',
|
||||
'1305409902'
|
||||
),
|
||||
|
|
|
@ -9,7 +9,7 @@ $item = $_GET['item'];
|
|||
function show_item($y) {
|
||||
$d = gmdate("g:i A \U\T\C, F d Y", $y[7]);
|
||||
$file = $y[0];
|
||||
if (strstr($file, 'http://')) {
|
||||
if (strstr($file, 'http://') || strstr($file, 'https://')) {
|
||||
$url = $file;
|
||||
} else {
|
||||
$url = "https://boinc.berkeley.edu/addons/$file";
|
||||
|
|
Loading…
Reference in New Issue