forked from leftypol/leftypol
sitemap theme: fix notice when rebuilding using tools/rebuild.php from CLI
This commit is contained in:
parent
fa66b96240
commit
aa9844ae2a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue