![]() |
Bearsampp 2025.8.29
|
Go to the source code of this file.
Variables | |
$apacheLabel = 'bg-secondary' | |
$apacheSslPort = $bearsamppBins->getApache()->getSslPort() | |
global | $bearsamppBins |
$dlMoreTpl = '<a href="' . Util::getWebsiteUrl( 'module/%s', '#releases' ) . '" target="_blank" title="' . $downloadTitle . '"><span class="float-end" style="margin-left:.5rem;"><i class="fa-solid fa-cloud-arrow-down"></i></span></a>' | |
global | $downloadTitle |
$mailpitLabel = 'bg-secondary' | |
$mariadbLabel = 'bg-secondary' | |
$memcachedLabel = 'bg-secondary' | |
$mysqlLabel = 'bg-secondary' | |
$postgresqlLabel = 'bg-secondary' | |
$result | |
if( $bearsamppBins->getApache() ->isEnable()) | $result ['binapache'] = sprintf( $dlMoreTpl, 'apache' ) |
$result ['binapache'] = '<span class = " float-end badge ' . $apacheLabel . '">' . $bearsamppBins->getApache()->getVersion() . '</span>' | |
if( $bearsamppBins->getMailpit() ->isEnable()) | $result ['binmailpit'] = sprintf( $dlMoreTpl, 'mailpit' ) |
$result ['binmailpit'] = '<span class = " float-end badge ' . $mailpitLabel . '">' . $bearsamppBins->getMailpit()->getVersion() . '</span>' | |
if( $bearsamppBins->getMariadb() ->isEnable()) | $result ['binmariadb'] = sprintf( $dlMoreTpl, 'mariadb' ) |
$result ['binmariadb'] = '<span class = " float-end badge ' . $mariadbLabel . '">' . $bearsamppBins->getMariadb()->getVersion() . '</span>' | |
if( $bearsamppBins->getMemcached() ->isEnable()) | $result ['binmemcached'] = sprintf( $dlMoreTpl, 'memcached' ) |
$result ['binmemcached'] = '<span class = " float-end badge ' . $memcachedLabel . '">' . $bearsamppBins->getMemcached()->getVersion() . '</span>' | |
if( $bearsamppBins->getMysql() ->isEnable()) | $result ['binmysql'] = sprintf( $dlMoreTpl, 'mysql' ) |
$result ['binmysql'] = '<span class = " float-end badge ' . $mysqlLabel . '">' . $bearsamppBins->getMysql()->getVersion() . '</span>' | |
if( $bearsamppBins->getNodejs() ->isEnable()) | $result ['binnodejs'] = sprintf( $dlMoreTpl, 'nodejs' ) |
$result ['binnodejs'] = '<span class = " float-end badge ' . $nodejsLabel . '">' . $bearsamppBins->getNodejs()->getVersion() . '</span>' | |
if( $bearsamppBins->getPhp() ->isEnable()) | $result ['binphp'] = sprintf( $dlMoreTpl, 'php' ) |
$result ['binphp'] = '<span class = " float-end badge ' . $phpLabel . '">' . $bearsamppBins->getPhp()->getVersion() . '</span>' | |
if( $bearsamppBins->getPostgresql() ->isEnable()) | $result ['binpostgresql'] = sprintf( $dlMoreTpl, 'postgresql' ) |
$result ['binpostgresql'] = '<span class = " float-end badge ' . $postgresqlLabel . '">' . $bearsamppBins->getPostgresql()->getVersion() . '</span>' | |
if( $bearsamppBins->getXlight() ->isEnable()) | $result ['binxlight'] = sprintf( $dlMoreTpl, 'xlight' ) |
$result ['binxlight'] = '<span class = " float-end badge ' . $xlightLabel . '">' . $bearsamppBins->getXlight()->getVersion() . '</span>' | |
$xlightLabel = 'bg-secondary' | |
catch (Exception $e) | |
try |
$apacheLabel = 'bg-secondary' |
Definition at line 42 of file ajax.summary.php.
$apacheSslPort = $bearsamppBins->getApache()->getSslPort() |
Definition at line 41 of file ajax.summary.php.
global $bearsamppBins |
Definition at line 16 of file ajax.summary.php.
$dlMoreTpl = '<a href="' . Util::getWebsiteUrl( 'module/%s', '#releases' ) . '" target="_blank" title="' . $downloadTitle . '"><span class="float-end" style="margin-left:.5rem;"><i class="fa-solid fa-cloud-arrow-down"></i></span></a>' |
Definition at line 32 of file ajax.summary.php.
global $downloadTitle |
Generates a JSON output containing information about various bins such as Apache, Mailpit, MariaDB, MySQL, PostgreSQL, Memcached, Node.js, and PHP. The output includes download links, version numbers, and status labels for each bin.
Definition at line 16 of file ajax.summary.php.
$mailpitLabel = 'bg-secondary' |
Definition at line 68 of file ajax.summary.php.
$mariadbLabel = 'bg-secondary' |
Definition at line 110 of file ajax.summary.php.
$memcachedLabel = 'bg-secondary' |
Definition at line 173 of file ajax.summary.php.
$mysqlLabel = 'bg-secondary' |
Definition at line 131 of file ajax.summary.php.
$postgresqlLabel = 'bg-secondary' |
Definition at line 152 of file ajax.summary.php.
$result |
Definition at line 19 of file ajax.summary.php.
if ($bearsamppBins->getApache() ->isEnable()) $result[ 'binapache'] = sprintf( $dlMoreTpl, 'apache' ) |
Definition at line 54 of file ajax.summary.php.
$result[ 'binapache'] = '<span class = " float-end badge ' . $apacheLabel . '">' . $bearsamppBins->getApache()->getVersion() . '</span>' |
Definition at line 55 of file ajax.summary.php.
if ($bearsamppBins->getMailpit() ->isEnable()) $result[ 'binmailpit'] = sprintf( $dlMoreTpl, 'mailpit' ) |
Definition at line 75 of file ajax.summary.php.
$result[ 'binmailpit'] = '<span class = " float-end badge ' . $mailpitLabel . '">' . $bearsamppBins->getMailpit()->getVersion() . '</span>' |
Definition at line 76 of file ajax.summary.php.
if ($bearsamppBins->getMariadb() ->isEnable()) $result[ 'binmariadb'] = sprintf( $dlMoreTpl, 'mariadb' ) |
Definition at line 117 of file ajax.summary.php.
$result[ 'binmariadb'] = '<span class = " float-end badge ' . $mariadbLabel . '">' . $bearsamppBins->getMariadb()->getVersion() . '</span>' |
Definition at line 118 of file ajax.summary.php.
if ($bearsamppBins->getMemcached() ->isEnable()) $result[ 'binmemcached'] = sprintf( $dlMoreTpl, 'memcached' ) |
Definition at line 180 of file ajax.summary.php.
$result[ 'binmemcached'] = '<span class = " float-end badge ' . $memcachedLabel . '">' . $bearsamppBins->getMemcached()->getVersion() . '</span>' |
Definition at line 181 of file ajax.summary.php.
if ($bearsamppBins->getMysql() ->isEnable()) $result[ 'binmysql'] = sprintf( $dlMoreTpl, 'mysql' ) |
Definition at line 138 of file ajax.summary.php.
$result[ 'binmysql'] = '<span class = " float-end badge ' . $mysqlLabel . '">' . $bearsamppBins->getMysql()->getVersion() . '</span>' |
Definition at line 139 of file ajax.summary.php.
if ($bearsamppBins->getNodejs() ->isEnable()) $result[ 'binnodejs'] = sprintf( $dlMoreTpl, 'nodejs' ) |
Definition at line 197 of file ajax.summary.php.
$result[ 'binnodejs'] = '<span class = " float-end badge ' . $nodejsLabel . '">' . $bearsamppBins->getNodejs()->getVersion() . '</span>' |
Definition at line 198 of file ajax.summary.php.
if ($bearsamppBins->getPhp() ->isEnable()) $result[ 'binphp'] = sprintf( $dlMoreTpl, 'php' ) |
Definition at line 214 of file ajax.summary.php.
$result[ 'binphp'] = '<span class = " float-end badge ' . $phpLabel . '">' . $bearsamppBins->getPhp()->getVersion() . '</span>' |
Definition at line 215 of file ajax.summary.php.
if ($bearsamppBins->getPostgresql() ->isEnable()) $result[ 'binpostgresql'] = sprintf( $dlMoreTpl, 'postgresql' ) |
Definition at line 159 of file ajax.summary.php.
$result[ 'binpostgresql'] = '<span class = " float-end badge ' . $postgresqlLabel . '">' . $bearsamppBins->getPostgresql()->getVersion() . '</span>' |
Definition at line 160 of file ajax.summary.php.
if ($bearsamppBins->getXlight() ->isEnable()) $result[ 'binxlight'] = sprintf( $dlMoreTpl, 'xlight' ) |
Definition at line 96 of file ajax.summary.php.
$result[ 'binxlight'] = '<span class = " float-end badge ' . $xlightLabel . '">' . $bearsamppBins->getXlight()->getVersion() . '</span>' |
Definition at line 97 of file ajax.summary.php.
$xlightLabel = 'bg-secondary' |
Definition at line 89 of file ajax.summary.php.
catch | ( | Exception | $e | ) |
Definition at line 217 of file ajax.summary.php.
catch (Exception $e) try |
Definition at line 34 of file ajax.summary.php.