diff options
| author | Czterooki <czterooki1337@gmail.com> | 2013-07-20 18:28:57 -0400 |
|---|---|---|
| committer | Czterooki <czterooki1337@gmail.com> | 2013-07-20 18:28:57 -0400 |
| commit | bc1bc9f6ef08d778b7218e86ea00f43c1d9bce81 (patch) | |
| tree | 104fcb30ac68a0f76c0aec37fb01ff65c409f927 /templates/themes | |
| parent | ca5283abaddb6014bc6075ea9fbf3a8daa19f2cc (diff) | |
| parent | d31be1958de76e5cabc14ddd410287055b6dac0c (diff) | |
Merge branch 'master' of github.com:vichan-devel/Tinyboard
Diffstat (limited to 'templates/themes')
| -rw-r--r-- | templates/themes/sitemap/info.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/themes/sitemap/info.php b/templates/themes/sitemap/info.php index 1198c2e3..43b529fa 100644 --- a/templates/themes/sitemap/info.php +++ b/templates/themes/sitemap/info.php @@ -23,7 +23,7 @@ 'name' => 'url', 'type' => 'text', 'comment' => '(with trailing slash)', - 'default' => 'http://' . (isset ($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : "localhost") . $config['root'], + 'default' => (isset($_SERVER['HTTP_HOST']) ? 'http://' . $_SERVER['HTTP_HOST'] . $config['root'] : ''), 'size' => '20' ); |
