diff options
| author | Derick Rethans <derick@php.net> | 2001-02-14 10:48:48 +0000 |
|---|---|---|
| committer | Derick Rethans <derick@php.net> | 2001-02-14 10:48:48 +0000 |
| commit | 4a54a15fc6060b15d27970827ddb104e983e1058 (patch) | |
| tree | e4df16a0a6779483f52295f0c7986af511c07aea /ext/standard/basic_functions.c | |
| parent | f5874e9758ac7001fd24f62752b476fba655cc42 (diff) | |
| download | php-git-4a54a15fc6060b15d27970827ddb104e983e1058.tar.gz | |
- 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
Diffstat (limited to 'ext/standard/basic_functions.c')
| -rw-r--r-- | ext/standard/basic_functions.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |
