remove redundancy from 404 settings
This commit is contained in:
@ -52,6 +52,8 @@
|
||||
$opt404[$option] = $opt['page']['404'][$_SERVER['SERVER_NAME']][$option];
|
||||
else
|
||||
$opt404[$option] = $opt['page']['404']['www.opencaching.de'][$option];
|
||||
if ($opt404[$option]['urlname'] == '')
|
||||
$opt404[$option]['urlname'] = parse_url($opt404[$option]['url'], PHP_URL_HOST);
|
||||
}
|
||||
|
||||
// get feeds from $feeds array
|
||||
|
@ -258,7 +258,7 @@
|
||||
'newcaches' => array(
|
||||
'show' => true,
|
||||
'url' => 'http://www.opencaching.de',
|
||||
'urlname' => 'www.opencaching.de',
|
||||
'urlname' => '', // optional: show other name than the url-domain
|
||||
),
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user