Fix for systems with no PHP_INFO

git-svn-id: http://svn.automattic.com/wordpress/trunk@2884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2005-09-15 23:44:41 +00:00
parent 4b40f98408
commit 032349cfe1
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
<form method="get" id="searchform" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <form method="get" id="searchform" action="<?php bloginfo('home'); ?>">
<div><input type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" /> <div><input type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" />
<input type="submit" id="searchsubmit" value="Search" /> <input type="submit" id="searchsubmit" value="Search" />
</div> </div>