Fix problem where PBMS daemon is not loaded or the 'pbms' database doesn't exist.
This commit is contained in:

committed by
Marc Delisle

parent
f8653e5803
commit
a8e5b0f275
@@ -80,17 +80,21 @@ if (empty($_REQUEST['engine'])
|
||||
. '</tr>' . "\n";
|
||||
$odd_row = !$odd_row;
|
||||
}
|
||||
// Special case for PBMS daemon which is not listed as an engine
|
||||
echo '<tr class="'
|
||||
. ($odd_row ? 'odd' : 'even')
|
||||
. '">' . "\n"
|
||||
. ' <td><a href="./server_engines.php'
|
||||
. PMA_generate_common_url(array('engine' => "PBMS")) . '">' . "\n"
|
||||
. ' ' . "PBMS\n"
|
||||
. ' </a></td>' . "\n"
|
||||
. ' <td>' . htmlspecialchars("PrimeBase BLOB streaming daemon") . '</td>' . "\n"
|
||||
. '</tr>' . "\n";
|
||||
|
||||
|
||||
$PMA_Config = $GLOBALS['PMA_Config'];
|
||||
if ($PMA_Config->get('BLOBSTREAMING_PLUGINS_EXIST')) {
|
||||
// Special case for PBMS daemon which is not listed as an engine
|
||||
echo '<tr class="'
|
||||
. ($odd_row ? 'odd' : 'even')
|
||||
. '">' . "\n"
|
||||
. ' <td><a href="./server_engines.php'
|
||||
. PMA_generate_common_url(array('engine' => "PBMS")) . '">' . "\n"
|
||||
. ' ' . "PBMS\n"
|
||||
. ' </a></td>' . "\n"
|
||||
. ' <td>' . htmlspecialchars("PrimeBase MediaStream (PBMS) daemon") . '</td>' . "\n"
|
||||
. '</tr>' . "\n";
|
||||
}
|
||||
|
||||
unset($odd_row, $engine, $details);
|
||||
echo '</tbody>' . "\n"
|
||||
. '</table>' . "\n";
|
||||
|
Reference in New Issue
Block a user