From 86dbb1a54e3513a84ec8c6e175c888b17d7bcf19 Mon Sep 17 00:00:00 2001 From: dqos <8611981+dqos@users.noreply.github.com> Date: Wed, 1 Nov 2023 21:37:28 +0100 Subject: [PATCH] Sync configs --- docker/php-fpm/src/config.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docker/php-fpm/src/config.php b/docker/php-fpm/src/config.php index 69aa094..9c71442 100644 --- a/docker/php-fpm/src/config.php +++ b/docker/php-fpm/src/config.php @@ -8,8 +8,6 @@ const LG_TITLE = 'Looking Glass'; const LG_LOGO = '

Company Looking Glass

'; // Define the URL where the logo points to; const LG_LOGO_URL = 'https://github.com/hybula/lookingglass/'; -// Define content, this could be JS, CSS or meta tags; -const LG_CUSTOM_HEAD = false; // Enable the latency check feature; const LG_CHECK_LATENCY = false; @@ -31,6 +29,11 @@ const LG_CUSTOM_HTML = __DIR__.'/custom.html.php'; // Define a file here which will be loaded on top of the index file, this can be used to do some post logic; const LG_CUSTOM_PHP = __DIR__.'/custom.post.php'; +// Define a file here which will be used to display the custom header. Will be at the top of file; +const LG_CUSTOM_HEADER_PHP = __DIR__.'/custom.header.php'; +// Define a file here which will be used to display the custom footer. Will be at the bottom of file; +const LG_CUSTOM_FOOTER_PHP = __DIR__.'/custom.footer.php'; + // Define the location of this network, usually a city and a country; define('LG_LOCATION', getenv('LOCATION')); // Define a query location for the link to openstreetmap (eg: Amsterdam, Netherlands will be https://www.openstreetmap.org/search?query=Amsterdam, Netherlands) @@ -61,7 +64,7 @@ const LG_LOCATIONS = [ 'Location C' => 'https://github.com/hybula/lookingglass/', ]; -// Enable the iPerf info inside the speedtest block, set too false to disable; +// Enable the iPerf info inside the speedtest block, set to false to disable; const LG_SPEEDTEST_IPERF = true; // Define the label of an incoming iPerf test; const LG_SPEEDTEST_LABEL_INCOMING = 'iPerf3 Incoming';