cvs: phpweb / mirror-info.php search.php
| From: | Gabor Hojtsy | Date: | Fri, 10 Jan 2003 09:59:23 +0000 |
| Subject: | cvs: phpweb / mirror-info.php search.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-14908@lists.php.net to get a copy of this message | ||
goba Fri Jan 10 04:59:23 2003 EDT
Modified files:
/phpweb search.php mirror-info.php
Log:
Supress warning message. is_executable() outputs a warning in case there is
no such file...
Index: phpweb/search.php
diff -u phpweb/search.php:1.60 phpweb/search.php:1.61
--- phpweb/search.php:1.60 Mon Jan 6 05:42:33 2003
+++ phpweb/search.php Fri Jan 10 04:59:23 2003
@@ -27,7 +27,7 @@
// If the program to use to search is not excutable, we cannot
// get search results, regardless of what we do
-if (!is_executable($htsearch_prog)) {
+if (!@is_executable($htsearch_prog)) {
unset($htsearch_prog);
}
Index: phpweb/mirror-info.php
diff -u phpweb/mirror-info.php:1.6 phpweb/mirror-info.php:1.7
--- phpweb/mirror-info.php:1.6 Sun Jan 5 07:02:34 2003
+++ phpweb/mirror-info.php Fri Jan 10 04:59:23 2003
@@ -13,7 +13,7 @@
$htsearch_prog = $_SERVER['HTSEARCH_PROG'];
$searchtype = 1;
}
-if (!is_executable($htsearch_prog)) {
+if (!@is_executable($htsearch_prog)) {
unset($htsearch_prog);
}
if (!isset($htsearch_prog)) {