wez Thu Feb 13 08:35:55 2003 EDT
Modified files:
/php4/ext/standard config.m4
Log:
cli should be allowed to have the chroot() function.
Index: php4/ext/standard/config.m4
diff -u php4/ext/standard/config.m4:1.52 php4/ext/standard/config.m4:1.53
--- php4/ext/standard/config.m4:1.52 Wed Jan 22 15:41:28 2003
+++ php4/ext/standard/config.m4 Thu Feb 13 08:35:55 2003
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.52 2003/01/22 20:41:28 avsm Exp $ -*- sh -*-
+dnl $Id: config.m4,v 1.53 2003/02/13 13:35:55 wez Exp $ -*- sh -*-
divert(3)dnl
@@ -258,7 +258,7 @@
AC_CHECK_FUNCS(glob strfmon)
-if test "$PHP_SAPI" = "cgi"; then
+if test "$PHP_SAPI" = "cgi" -o "$PHP_SAPI" = "cli" -o "$PHP_SAPI" = "embed"; then
AC_DEFINE(ENABLE_CHROOT_FUNC, 1, [Whether to enable chroot() function])
fi
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php