Fix typo
This commit is contained in:
parent
979b1e081e
commit
308c84f423
@ -62,8 +62,8 @@ class LookingGlass
|
|||||||
if (!defined('LG_BLOCK_NETWORK')) {
|
if (!defined('LG_BLOCK_NETWORK')) {
|
||||||
die('LG_BLOCK_NETWORK not found in config.php');
|
die('LG_BLOCK_NETWORK not found in config.php');
|
||||||
}
|
}
|
||||||
if (!defined('LG_BLOCK_LOOKINGGLAS')) {
|
if (!defined('LG_BLOCK_LOOKINGGLASS')) {
|
||||||
die('LG_BLOCK_LOOKINGGLAS not found in config.php');
|
die('LG_BLOCK_LOOKINGGLASS not found in config.php');
|
||||||
}
|
}
|
||||||
if (!defined('LG_BLOCK_SPEEDTEST')) {
|
if (!defined('LG_BLOCK_SPEEDTEST')) {
|
||||||
die('LG_BLOCK_SPEEDTEST not found in config.php');
|
die('LG_BLOCK_SPEEDTEST not found in config.php');
|
||||||
|
@ -44,7 +44,7 @@ $templateData = [
|
|||||||
'logo_data_dark' => LG_LOGO_DARK,
|
'logo_data_dark' => LG_LOGO_DARK,
|
||||||
//
|
//
|
||||||
'block_network' => LG_BLOCK_NETWORK,
|
'block_network' => LG_BLOCK_NETWORK,
|
||||||
'block_lookingglas' => LG_BLOCK_LOOKINGGLAS,
|
'block_lookingglass' => LG_BLOCK_LOOKINGGLASS,
|
||||||
'block_speedtest' => LG_BLOCK_SPEEDTEST,
|
'block_speedtest' => LG_BLOCK_SPEEDTEST,
|
||||||
'block_custom' => LG_BLOCK_CUSTOM,
|
'block_custom' => LG_BLOCK_CUSTOM,
|
||||||
'custom_html' => '',
|
'custom_html' => '',
|
||||||
|
@ -24,7 +24,7 @@ const LG_CUSTOM_HEAD = false;
|
|||||||
|
|
||||||
// Enable or disable blocks/parts of the LG, set false to hide a part;
|
// Enable or disable blocks/parts of the LG, set false to hide a part;
|
||||||
const LG_BLOCK_NETWORK = true;
|
const LG_BLOCK_NETWORK = true;
|
||||||
const LG_BLOCK_LOOKINGGLAS = true;
|
const LG_BLOCK_LOOKINGGLASS = true;
|
||||||
const LG_BLOCK_SPEEDTEST = true;
|
const LG_BLOCK_SPEEDTEST = true;
|
||||||
// This enables the custom block, which you can use to add something custom to the LG;
|
// This enables the custom block, which you can use to add something custom to the LG;
|
||||||
const LG_BLOCK_CUSTOM = false;
|
const LG_BLOCK_CUSTOM = false;
|
||||||
|
@ -26,6 +26,7 @@ const LG_CUSTOM_HEAD = false;
|
|||||||
const LG_BLOCK_NETWORK = true;
|
const LG_BLOCK_NETWORK = true;
|
||||||
const LG_BLOCK_LOOKINGGLAS = true;
|
const LG_BLOCK_LOOKINGGLAS = true;
|
||||||
const LG_BLOCK_SPEEDTEST = true;
|
const LG_BLOCK_SPEEDTEST = true;
|
||||||
|
const LG_BLOCK_LOOKINGGLASS = true;
|
||||||
// This enables the custom block, which you can use to add something custom to the LG;
|
// This enables the custom block, which you can use to add something custom to the LG;
|
||||||
define('LG_BLOCK_CUSTOM', getenv('ENABLE_CUSTOM_BLOCK') !== false);
|
define('LG_BLOCK_CUSTOM', getenv('ENABLE_CUSTOM_BLOCK') !== false);
|
||||||
|
|
||||||
|
@ -194,7 +194,7 @@ $templateData['csrfToken'] = $_SESSION[LookingGlass::SESSION_CSRF] = bin2hex(ran
|
|||||||
</div>
|
</div>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
<?php if (LG_BLOCK_LOOKINGGLAS): ?>
|
<?php if (LG_BLOCK_LOOKINGGLASS): ?>
|
||||||
<div class="row pb-5">
|
<div class="row pb-5">
|
||||||
<div class="card shadow-lg">
|
<div class="card shadow-lg">
|
||||||
<div class="card-body p-3">
|
<div class="card-body p-3">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user