Skip to content

Commit 7dd8c69

Browse files
committed
Merge https://github.com/MPOS/php-mpos into development
2 parents 6875749 + e2a3536 commit 7dd8c69

File tree

5 files changed

+5
-9
lines changed

5 files changed

+5
-9
lines changed

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,8 @@ Donations
1212

1313
Donations to this project are going directly to [TheSerapher](https://github.com/TheSerapher), the original author of this project:
1414

15-
* LTC address: `Lge95QR2frp9y1wJufjUPCycVsg5gLJPW8`
1615
* BTC address: `1HuYK6WPU8o3yWCrAaADDZPRpL5QiXitfv`
17-
* DOGE address: `DANk8bnc3vHEf7Jthaxq1Xgn1BSiArNdjG`
18-
* 42Coin address: `4VxA6Ht59Mj6ikhA4gDXLiHuAaDCJEvYTZ`
19-
* FST address: `fiRqMgZyhjTN1GSEB3ZxV35JXsE5bjEaQ2`
20-
* FRK address: `FDcgGZjX2B29qevSuiuQVwXhkNhtQT4cEW`
16+
* LTC address: `Lge95QR2frp9y1wJufjUPCycVsg5gLJPW8`
2117

2218
Website Footer
2319
==============

include/classes/monitoring.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Monitoring extends Base {
1212
public function storeUptimeRobotStatus() {
1313
if ($api_keys = $this->setting->getValue('monitoring_uptimerobot_api_keys')) {
1414
$aJSONData = array();
15-
$url = 'http://api.uptimerobot.com';
15+
$url = 'https://api.uptimerobot.com';
1616
$aMonitors = explode(',', $api_keys);
1717
foreach ($aMonitors as $aData) {
1818
$temp = explode('|', $aData);

include/pages/statistics/uptime.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
));
1616
$content = 'default.tpl';
1717
} else {
18-
$_SESSION['POPUP'][] = array('CONTENT' => 'UptimeRobot API Key not configured.', 'TYPE' => 'alert alert-warning');
18+
$_SESSION['POPUP'][] = array('CONTENT' => 'UptimeRobot API Key not configured or no data available.', 'TYPE' => 'alert alert-warning');
1919
$content = '';
2020
}
2121
} else {

include/smarty_globals.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@
225225
$_SESSION['POPUP'][] = array('CONTENT' => 'You are using an old Theme that will not be maintained in the future.', 'TYPE' => 'alert alert-warning');
226226

227227
// Check we can load the theme at all
228-
if ( !in_array($setting->getValue('website_theme'), $template->getThemes()))
228+
if ( !in_array($setting->getValue('website_theme', 'bootstrap'), $template->getThemes()))
229229
die('Unable to find your selected theme `' . $setting->getValue('website_theme') . '` in the list of available themes. Please reset your `website_theme` setting in your database.');
230230

231231
// So we can display additional info

include/version.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
$defflip = (!cfip()) ? exit(header('HTTP/1.1 401 Unauthorized')) : 1;
33

4-
define('MPOS_VERSION', '1.0.6');
4+
define('MPOS_VERSION', '1.0.7');
55
define('DB_VERSION', '1.0.2');
66
define('CONFIG_VERSION', '1.0.1');
77
define('HASH_VERSION', 1);

0 commit comments

Comments
 (0)