summaryrefslogtreecommitdiff
path: root/main/php_open_temporary_file.h
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2007-07-17 23:46:40 +0000
committerIlia Alshanetsky <iliaa@php.net>2007-07-17 23:46:40 +0000
commit20aa854940698883fda725ec7055f038faac0096 (patch)
treedc3c13c39b32dcf0064e72996136a9d320ae0ccc /main/php_open_temporary_file.h
parent2c05c8c6b3b9262788ce17d0be4e81de7ad62175 (diff)
downloadphp-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.h1
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();