mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Minor improvements (#788)
This commit is contained in:
parent
0a72b27a09
commit
345845e5cf
1 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ if (!defined('BB_ROOT')) {
|
|||
define('BB_ROOT', './');
|
||||
}
|
||||
if (!defined('BB_SCRIPT')) {
|
||||
define('BB_SCRIPT', 'undefined');
|
||||
define('BB_SCRIPT', null);
|
||||
}
|
||||
|
||||
header('X-Frame-Options: SAMEORIGIN');
|
||||
|
@ -180,7 +180,7 @@ if (CHECK_REQIREMENTS['status'] && !CACHE('bb_cache')->get('system_req')) {
|
|||
$data = [];
|
||||
foreach (CHECK_REQIREMENTS['ext_list'] as $ext) {
|
||||
if (!extension_loaded($ext)) {
|
||||
$data[] = $ext;
|
||||
$data[] = '<code style="background:#222;color:#00e01f;padding:2px 6px;border-radius:3px;">' . $ext . '</code>';
|
||||
}
|
||||
}
|
||||
if (!empty($data)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue