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/php_dir.h | |
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/php_dir.h')
-rw-r--r-- | ext/standard/php_dir.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/php_dir.h b/ext/standard/php_dir.h index 8bbaba3b80..7e48f0783e 100644 --- a/ext/standard/php_dir.h +++ b/ext/standard/php_dir.h @@ -28,6 +28,7 @@ PHP_RINIT_FUNCTION(dir); PHP_FUNCTION(opendir); PHP_FUNCTION(closedir); PHP_FUNCTION(chdir); +PHP_FUNCTION(chroot); PHP_FUNCTION(getcwd); PHP_FUNCTION(rewinddir); PHP_NAMED_FUNCTION(php_if_readdir); |