Skip to content
Permalink
Browse files

Minor updates

  • Loading branch information...
sergejey committed Jun 24, 2019
1 parent 209dd69 commit 483d9e11a9946526c8c2899d298e155c62fb21e9
Showing with 16 additions and 4 deletions.
  1. +3 −1 api.php
  2. +2 −1 config.php.sample
  3. +9 −2 lib/common.class.php
  4. +1 −0 modules/market/update_iframe.php
  5. +1 −0 modules/saverestore/update_iframe.php
@@ -366,7 +366,9 @@
$result['passed']=round($endTime-$startedTime,4);
}
endMeasure('TOTAL');
if (function_exists('endMeasure')) {
endMeasure('TOTAL');
}
if ($_GET['performance']) {
$result['performance']=PerformanceReport(1);
@@ -101,4 +101,5 @@ Define('GETURL_WARNING_TIMEOUT',5); // TIMEOUT LIMIT FOR getUR
//Define('DISABLE_PANEL_ACCELERATION', 1);
//Define('VERBOSE_LOG',1); // STORE SYSTEM ACTIVITY IN VERBOSE LOG
//Define('VERBOSE_LOG_IGNORE','.checkstate, ThisComputer.uptime'); // IGNORE SOME DATA
//Define('DISABLE_SIMPLE_DEVICES',1); // disables simple devices behavior
//Define('DISABLE_SIMPLE_DEVICES',1); // disables simple devices behavior
//Define('AUDIO_PLAYER','omxplayer --no-osd'); // audio-player for linux
@@ -609,8 +609,15 @@ function playSound($filename, $exclusive = 0, $priority = 0)
if (file_exists($filename)) {
if (IsWindowsOS())
safe_exec(DOC_ROOT . '/rc/madplay.exe ' . $filename, $exclusive, $priority);
else
safe_exec('mplayer ' . $filename . " >/dev/null 2>&1", $exclusive, $priority);
else {
if (defined('AUDIO_PLAYER') && AUDIO_PLAYER!='') {
$audio_player = AUDIO_PLAYER;
} else {
$audio_player = 'mplayer';
}
safe_exec($audio_player.' ' . $filename . " >/dev/null 2>&1", $exclusive, $priority);
}
}
}
@@ -15,6 +15,7 @@
$mkt->category_id='all';
$_GET['op']='iframe';
header('X-Accel-Buffering: no');
echo "<html>";
echo "<body>";
@@ -15,6 +15,7 @@
global $with_extensions;
header('X-Accel-Buffering: no');
echo "<html>";
echo "<body>";

0 comments on commit 483d9e1

Please sign in to comment.
You can’t perform that action at this time.