diff options
author | Hannes Magnusson <bjori@php.net> | 2008-12-09 10:20:11 +0000 |
---|---|---|
committer | Hannes Magnusson <bjori@php.net> | 2008-12-09 10:20:11 +0000 |
commit | 76669fce2349afb04c2e9c8a91677293b514e56e (patch) | |
tree | 37c67d567fb398d0041ef09c69019408781aacd2 /main/fopen_wrappers.h | |
parent | ac30b3a8de3ac7cb8cc7146425e495b530aa9014 (diff) | |
download | php-git-76669fce2349afb04c2e9c8a91677293b514e56e.tar.gz |
MFH: - Changed open_basedir to allow tightening in runtime contexts. (Sara)
- Add test
Diffstat (limited to 'main/fopen_wrappers.h')
-rw-r--r-- | main/fopen_wrappers.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/fopen_wrappers.h b/main/fopen_wrappers.h index 1b8113c10c..b58bc02ac9 100644 --- a/main/fopen_wrappers.h +++ b/main/fopen_wrappers.h @@ -23,6 +23,7 @@ BEGIN_EXTERN_C() #include "php_globals.h" +#include "php_ini.h" PHPAPI int php_fopen_primary_script(zend_file_handle *file_handle TSRMLS_DC); PHPAPI char *expand_filepath(const char *filepath, char *real_path TSRMLS_DC); @@ -39,6 +40,8 @@ PHPAPI char *php_resolve_path(const char *filename, int filename_len, const char PHPAPI FILE *php_fopen_with_path(const char *filename, const char *mode, const char *path, char **opened_path TSRMLS_DC); PHPAPI char *php_strip_url_passwd(char *path); + +PHPAPI ZEND_INI_MH(OnUpdateBaseDir); END_EXTERN_C() #endif |