Browse Source

sitemap theme: fix notice when rebuilding using tools/rebuild.php from CLI

pull/40/head
czaks 11 years ago
parent
commit
aa9844ae2a
  1. 2
      templates/themes/sitemap/info.php

2
templates/themes/sitemap/info.php

@ -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…
Cancel
Save