Skip to content
3 changes: 1 addition & 2 deletions public/include/classes/monitoring.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,8 @@ public function getStatus($name) {
if ($query && $query->bind_param('s', $name) && $query->execute() && $result = $query->get_result()) {
return $result->fetch_assoc();
} else {
$this->sqlError();
return $this->sqlError();
}
return $value;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion public/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function cfip() { return (@defined('SECURITY')) ? 1 : 0; }
// Rate limiting
if ($config['memcache']['enabled'] && $config['mc_antidos']['enabled']) {
if (PHP_OS == 'WINNT') {
require_once(CLASS_DIR . 'memcached.class.php');
require_once(CLASS_DIR . '/memcached.class.php');
}
// memcache antidos needs a memcache handle
$memcache = new Memcached();
Expand Down
2 changes: 2 additions & 0 deletions public/site_assets/mpos/css/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ padding: 0;
font-family: "Helvetica Neue", Helvetica, Arial, Verdana, sans-serif;
background: #F8F8F8;
font-size: 12px;
min-width: 1323px;
/* Allows resizing without distortion of graphs and the like, some older browsers will ingnore this */
}

.clear {
Expand Down