Skip to content

Commit

Permalink
fixed request_uri.
Browse files Browse the repository at this point in the history
  • Loading branch information
smallstyle committed Jun 21, 2012
1 parent f400829 commit 65fee2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/ja/google_sitemaps.rb
Expand Up @@ -5,7 +5,7 @@
add_conf_proc('google_sitemaps', 'Google sitemap') do
saveconf_google_sitemaps

request_uri = File::dirname(ENV['REQUEST_URI'])
request_uri = File::dirname(@cgi.request_uri)
if request_uri == "/"
@conf['google_sitemaps.uri_format'] ||= 'http://' + @cgi.server_name + '/index.cgi?date=%s'
else
Expand Down

0 comments on commit 65fee2c

Please sign in to comment.