mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-18 17:14:04 +01:00
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',
|
||||
'type' => 'text',
|
||||
'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'
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user