Files
Jump/jumpapp/config.php

40 lines
1.6 KiB
PHP
Raw Permalink Normal View History

2022-02-04 09:53:55 +00:00
<?php
2022-02-04 11:52:57 +00:00
/**
* Edit the configuration below to suit your requirements.
*
* @author Dale Davies <dale@daledavies.co.uk>
* @license MIT
*/
2022-02-04 09:53:55 +00:00
return [
2022-02-04 11:52:57 +00:00
// The site name is displayed in the browser tab.
2022-03-15 21:38:39 +00:00
'sitename' => getenv('SITENAME') ?: 'Jump',
2022-02-04 11:52:57 +00:00
// Where on the this code is located.
2022-03-15 21:38:39 +00:00
'wwwroot' => getenv('WWWROOT') ?: '/var/www/html',
2022-02-04 11:52:57 +00:00
// Stop retrieving items from the cache, useful for testing.
2022-03-15 21:38:39 +00:00
'cachebypass' => getenv('CACHEBYPASS') ?: false,
2022-02-04 11:52:57 +00:00
// Where is the cache storage directory, should not be public.
2022-03-15 21:38:39 +00:00
'cachedir' => getenv('CACHEDIR') ?: '/var/www/cache',
2022-02-04 11:52:57 +00:00
// Include the robots noindex meta tag in site header.
2022-03-15 21:38:39 +00:00
'noindex' => getenv('NOINDEX') ?: true,
// Should the clock be displayed?
'showclock' => getenv('SHOWCLOCK') ?: true,
// 12 hour clock format?
'ampmclock' => getenv('AMPMCLOCK') ?: false,
2022-03-15 21:38:39 +00:00
// Show a friendly greeting message rather than "#home".
'showgreeting' => getenv('SHOWGREETING') ?: true,
// Background blur percentage.
'bgblur' => getenv('BGBLUR') ?: '70',
// Background brightness percentage.
'bgbright' => getenv('BGBRIGHT') ?: '85',
2022-02-07 10:32:32 +00:00
// Open Weather Map API key.
2022-03-15 21:38:39 +00:00
'owmapikey' => getenv('OWMAPIKEY') ?: '',
// Coordinates for weather location. E.g. 51.509865,-0.118092
'latlong' => getenv('LATLONG') ?: '',
// Temperature unit: True = metric / False = imperial.
'metrictemp' => getenv('METRICTEMP') ?: true,
2022-03-17 10:34:25 +00:00
];