diff options
| author | James E. Flemer <jflemer@php.net> | 2002-02-01 20:04:14 +0000 |
|---|---|---|
| committer | James E. Flemer <jflemer@php.net> | 2002-02-01 20:04:14 +0000 |
| commit | 6aadae975c262db2024222eaa46ed196edf5c690 (patch) | |
| tree | 716ec8df40f33933046339dffc4d2ca061225196 /main/fopen_wrappers.h | |
| parent | 1f8c828c08b53fcf8af538c603f18a57d531e0b8 (diff) | |
| download | php-git-6aadae975c262db2024222eaa46ed196edf5c690.tar.gz | |
Changed php.ini directive 'safe_mode_include_dir' to accept a
(semi)colon separated path, rather than a single directory.
Also moved checking of said path into a separate path for code
readability.
@- Changed php.ini directive 'safe_mode_include_dir' to accept a
@ (semi)colon separated path (like 'include_path') rather than
@ a single directory. (jflemer)
Diffstat (limited to 'main/fopen_wrappers.h')
| -rw-r--r-- | main/fopen_wrappers.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/fopen_wrappers.h b/main/fopen_wrappers.h index eaa3d0489f..a380d357be 100644 --- a/main/fopen_wrappers.h +++ b/main/fopen_wrappers.h @@ -74,6 +74,8 @@ PHPAPI char *expand_filepath(const char *filepath, char *real_path TSRMLS_DC); PHPAPI int php_check_open_basedir(char *path TSRMLS_DC); PHPAPI int php_check_specific_open_basedir(char *basedir, char *path TSRMLS_DC); +PHPAPI int php_check_safe_mode_include_dir(char *path TSRMLS_DC); + PHPAPI FILE *php_fopen_with_path(char *filename, char *mode, char *path, char **opened_path TSRMLS_DC); PHPAPI int php_is_url(char *path); |
