This is the source code for the website of Serenum. https://serenum.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

42 lines
2.3 KiB

<?php
# Defines what the website will be called, what the description it will,
# have and what image the website will use for an example the metadata.
$config_title = 'Serenum'; # STRING
$config_description = 'A privacy respecting, self-hosted weather website'; # STRING
$config_image = null; # STRING
$config_image_alternative = null; # STRING
# Defines what domain the website are on.
$config_domain = 'serenum.org'; # STRING
# If set to true, the website will not use any cache.
$config_development = true; # BOOLEAN
# These are for the settings page, what will shown or not.
$config_allow_gps = true; # BOOLEAN
$config_allow_search = true; # BOOLEAN
$config_allow_own_apikey = true; # BOOLEAN
# Defines default values for the settings page.
$config_map_layer_light = 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png'; # STRING (default: https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png)
$config_map_layer_light_text = '&copy; '.link_('OpenStreetMap', 'https://www.openstreetmap.org/copyright').' contributors'; # STRING
$config_map_layer_dark = 'https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}'; # STRING (default: https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x})
$config_map_layer_dark_text = 'Tiles &copy; Esri &mdash; Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community'; # STRING
$config_map_zoom = 8; # INT (default: 8)
$config_map_zoom_min = 3; # INT (default: 3)
$config_map_zoom_max = 15; # INT (default: 15)
$config_default_coordinates_latitude = 59.381; # DECIMAL(2,3) (default: 59.381)
$config_default_coordinates_longitude = 13.503; # DECIMAL(2,3) (default: 13.503)
$config_default_language = 'en'; # STRING (default: en)
$config_default_unit = 'metric'; # STRING (default: metric)
$config_default_time = '24h'; # STRING (default: 24h)
$config_default_decimal = 'comma'; # STRING (default: comma)
$config_default_theme = 'dark'; # STRING (default: dark)
$config_default_finetune_updategps = 0; # INT (default: 0)
# Enter the API key from OpenWeatherMap that the website will use as default.
$config_apikey = null; # STRING (MD5)
?>