diff --git a/LookingGlass.php b/LookingGlass.php index 5775d65..d0ba507 100644 --- a/LookingGlass.php +++ b/LookingGlass.php @@ -52,6 +52,7 @@ class LookingGlass if (!defined('LG_CUSTOM_HTML')) die('LG_CUSTOM_HTML not found in config.php'); if (!defined('LG_CUSTOM_PHP')) die('LG_CUSTOM_PHP not found in config.php'); if (!defined('LG_LOCATION')) die('LG_LOCATION not found in config.php'); + if (!defined('LG_MAPS_QUERY')) die('LG_MAPS_QUERY not found in config.php'); if (!defined('LG_FACILITY')) die('LG_FACILITY not found in config.php'); if (!defined('LG_FACILITY_URL')) die('LG_FACILITY_URL not found in config.php'); if (!defined('LG_IPV4')) die('LG_IPV4 not found in config.php'); diff --git a/config.dist.php b/config.dist.php index 8ef8f42..51becde 100644 --- a/config.dist.php +++ b/config.dist.php @@ -26,6 +26,8 @@ const LG_CUSTOM_PHP = __DIR__.'/custom.post.php'; // Define the location of this network, usually a city and a country; const LG_LOCATION = 'Amsterdam, Netherlands'; +// Define a query location for the link to openstreetmap (eg: Amsterdam, Netherlands will be https://www.openstreetmap.org/search?query=Amsterdam, Netherlands) +const LG_MAPS_QUERY = 'Amsterdam, Netherlands'; // Define the facility where the network is located, usually a data center; const LG_FACILITY = 'Nikhef'; // Define a direct link to more information about the facility, this should be a link to PeeringDB;