From b73c9eca744c3e75791427348fa97de279827fb7 Mon Sep 17 00:00:00 2001 From: Guillaume Mazoyer Date: Wed, 4 Jun 2014 12:47:16 +0200 Subject: Provide a way to hide/show the visitor IP address. --- config.php.example | 2 ++ index.php | 7 +++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/config.php.example b/config.php.example index 00fab71..37a33c2 100644 --- a/config.php.example +++ b/config.php.example @@ -13,6 +13,8 @@ $config['frontpage']['title'] = 'Looking Glass'; $config['frontpage']['show_title'] = true; // Logo to display $config['frontpage']['image'] = 'logo.png'; +// Show visitor IP address +$config['frontpage']['show_visitor_ip'] = true; // Disclaimer to inform people using the looking glass $config['frontpage']['disclaimer'] = 'This is a disclaimer!'; // Frontpage order you can use: routers, commands, parameters, buttons diff --git a/index.php b/index.php index 3bcf81c..f1110bd 100644 --- a/index.php +++ b/index.php @@ -151,9 +151,12 @@ final class LookingGlass { print '