Skip to content

Commit 642ee3d

Browse files
committed
removed safe_mode leftovers
1 parent 4a1789c commit 642ee3d

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

ext/gd/php_gd.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323

2424
#if defined(HAVE_LIBGD) || defined(HAVE_GD_BUNDLED)
2525

26-
/* open_basedir and safe_mode checks */
2726
#define PHP_GD_CHECK_OPEN_BASEDIR(filename, errormsg) \
2827
if (!filename || php_check_open_basedir(filename)) { \
2928
php_error_docref(NULL, E_WARNING, errormsg); \

main/fopen_wrappers.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ PHPAPI int php_check_specific_open_basedir(const char *basedir, const char *path
3333
/* OPENBASEDIR_CHECKPATH(filename) to ease merge between 6.x and 5.x */
3434
#define OPENBASEDIR_CHECKPATH(filename) php_check_open_basedir(filename)
3535

36-
PHPAPI int php_check_safe_mode_include_dir(const char *path);
37-
3836
PHPAPI zend_string *php_resolve_path(const char *filename, size_t filename_len, const char *path);
3937

4038
PHPAPI FILE *php_fopen_with_path(const char *filename, const char *mode, const char *path, zend_string **opened_path);

0 commit comments

Comments
 (0)