From 4a54a15fc6060b15d27970827ddb104e983e1058 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Wed, 14 Feb 2001 10:48:48 +0000 Subject: - Added the chroot function for changing root in a script. #- This can be usefull when using PHP in a shell environment, or when PHP # runs as CGI which needs a little more security --- ext/standard/basic_functions.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/standard/basic_functions.c') diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index d1e6fa3ff9..40c37b85f8 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -465,6 +465,7 @@ function_entry basic_functions[] = { PHP_FE(opendir, NULL) PHP_FE(closedir, NULL) PHP_FE(chdir, NULL) + PHP_FE(chroot, NULL) PHP_FE(getcwd, NULL) PHP_FE(rewinddir, NULL) PHP_STATIC_FE("readdir", php_if_readdir, NULL) -- cgit v1.2.1