Files
Jump/jumpapp/config.php

24 lines
930 B
PHP
Raw 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-02-04 09:53:55 +00:00
'sitename' => getenv('SITENAME') ?: 'Jump',
2022-02-04 11:52:57 +00:00
// Where on the this code is located.
2022-02-04 09:53:55 +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-02-04 09:53:55 +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-02-04 09:53:55 +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-02-04 09:53:55 +00:00
'noindex' => getenv('NOINDEX') ?: true,
// Coordinates for weather location. E.g. 51.509865,-0.118092
'latlong' => getenv('LATLONG') ?: '',
2022-02-07 10:32:32 +00:00
// Open Weather Map API key.
'owmapikey' => getenv('OWMAPIKEY') ?: '',
2022-02-04 09:53:55 +00:00
];