Révision | fe24bcafaf0fe7283546e3daaffea518294b5438 (tree) |
---|---|
l'heure | 2009-04-18 09:56:33 |
Auteur | henoheno <henoheno> |
Commiter | henoheno |
BugTrack2/320: Failure with page "0" (reverted before ../init.php r1.81)
@@ -1,8 +1,8 @@ | ||
1 | 1 | <?php |
2 | 2 | // PukiWiki - Yet another WikiWikiWeb clone. |
3 | -// $Id: init.php,v 1.55 2008/10/01 12:25:42 henoheno Exp $ | |
3 | +// $Id: init.php,v 1.56 2009/04/18 00:56:33 henoheno Exp $ | |
4 | 4 | // Copyright (C) |
5 | -// 2002-2007 PukiWiki Developers Team | |
5 | +// 2002-2007, 2009 PukiWiki Developers Team | |
6 | 6 | // 2001-2002 Originally written by yu-ji |
7 | 7 | // License: GPL v2 or (at your option) any later version |
8 | 8 | // |
@@ -265,7 +265,7 @@ if (isset($_GET['encode_hint']) && $_GET['encode_hint'] != '') | ||
265 | 265 | // QUERY_STRINGを取得 |
266 | 266 | |
267 | 267 | $arg = ''; |
268 | -if (isset($_SERVER['QUERY_STRING']) && $_SERVER['QUERY_STRING']) { | |
268 | +if (isset($_SERVER['QUERY_STRING']) && $_SERVER['QUERY_STRING'] != '') { | |
269 | 269 | $arg = & $_SERVER['QUERY_STRING']; |
270 | 270 | } else if (isset($_SERVER['argv']) && ! empty($_SERVER['argv'])) { |
271 | 271 | $arg = & $_SERVER['argv'][0]; |