From c554b2fb4179e2babf36add94d8dab7bb0a89d71 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Sun, 27 May 2007 19:22:24 +0000 Subject: "sapi/cgi/php" -> "sapi/cgi/php-cgi" --- sapi/cgi/tests/include.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sapi/cgi/tests') diff --git a/sapi/cgi/tests/include.inc b/sapi/cgi/tests/include.inc index 2a87321499..11bf8f3b81 100644 --- a/sapi/cgi/tests/include.inc +++ b/sapi/cgi/tests/include.inc @@ -30,9 +30,9 @@ function get_cgi_path() /* {{{ */ } } - if ($php_path && is_dir($php_path) && file_exists($php_path."/cgi/php") && is_executable($php_path."/cgi/php")) { + if ($php_path && is_dir($php_path) && file_exists($php_path."/cgi/php-cgi") && is_executable($php_path."/cgi/php-cgi")) { /* gotcha */ - return $php_path."/cgi/php"; + return $php_path."/cgi/php-cgi"; } return false; } -- cgit v1.2.1