回答編集履歴

1

修正

2016/11/30 06:24

投稿

退会済みユーザー
test CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  <?php
4
4
 
5
- $cur_url = sprintf('Location: %s.php', filter_input(INPUT_SERVER, 'REQUEST_URI'));
5
+ $cur_url = sprintf('Location: %s', filter_input(INPUT_SERVER, 'REQUEST_URI'));
6
6
 
7
7
  $url = str_replace('/hoge', '/hoge/sp', $cur_url);
8
8