sitemap theme: fix notice when rebuilding using tools/rebuild.php from CLI
This commit is contained in:
parent
fa66b96240
commit
aa9844ae2a
@ -23,7 +23,7 @@
|
|||||||
'name' => 'url',
|
'name' => 'url',
|
||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
'comment' => '(with trailing slash)',
|
'comment' => '(with trailing slash)',
|
||||||
'default' => 'http://' . $_SERVER['HTTP_HOST'] . $config['root'],
|
'default' => 'http://' . (isset ($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : "localhost") . $config['root'],
|
||||||
'size' => '20'
|
'size' => '20'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user