diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2007-07-17 23:46:40 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2007-07-17 23:46:40 +0000 |
| commit | 20aa854940698883fda725ec7055f038faac0096 (patch) | |
| tree | dc3c13c39b32dcf0064e72996136a9d320ae0ccc /main/php_open_temporary_file.h | |
| parent | 2c05c8c6b3b9262788ce17d0be4e81de7ad62175 (diff) | |
| download | php-git-20aa854940698883fda725ec7055f038faac0096.tar.gz | |
Allow file uploads to bypass open_basedir checks (fixes regression)
Diffstat (limited to 'main/php_open_temporary_file.h')
| -rw-r--r-- | main/php_open_temporary_file.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/php_open_temporary_file.h b/main/php_open_temporary_file.h index 9565fcd6ca..9391d5fedb 100644 --- a/main/php_open_temporary_file.h +++ b/main/php_open_temporary_file.h @@ -23,6 +23,7 @@ BEGIN_EXTERN_C() PHPAPI FILE *php_open_temporary_file(const char *dir, const char *pfx, char **opened_path_p TSRMLS_DC); +PHPAPI int php_open_temporary_fd_ex(const char *dir, const char *pfx, char **opened_path_p, zend_bool open_basedir_check TSRMLS_DC); PHPAPI int php_open_temporary_fd(const char *dir, const char *pfx, char **opened_path_p TSRMLS_DC); PHPAPI const char *php_get_temporary_directory(void); PHPAPI void php_shutdown_temporary_directory(); |
