php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | |
Patch remove-safe-mode.diff for dbase Bug #61622Patch version 2012-04-10 12:11 UTC Return to Bug #61622 | Download this patchThis patch is obsolete Obsoleted by patches: Patch Revisions:Developer: jille@hexon.cxIndex: ext/dbase/dbase.c =================================================================== --- ext/dbase/dbase.c +++ ext/dbase/dbase.c @@ -23,7 +23,6 @@ #endif #include "php.h" -#include "safe_mode.h" #include "fopen_wrappers.h" #include "php_globals.h" @@ -142,10 +141,6 @@ RETURN_FALSE; } - if (PG(safe_mode) && (!php_checkuid(Z_STRVAL_PP(dbf_name), NULL, CHECKUID_CHECK_FILE_AND_DIR))) { - RETURN_FALSE; - } - if (php_check_open_basedir(Z_STRVAL_PP(dbf_name) TSRMLS_CC)) { RETURN_FALSE; } @@ -604,10 +599,6 @@ RETURN_FALSE; } - if (PG(safe_mode) && (!php_checkuid(Z_STRVAL_PP(filename), NULL, CHECKUID_CHECK_FILE_AND_DIR))) { - RETURN_FALSE; - } - if (php_check_open_basedir(Z_STRVAL_PP(filename) TSRMLS_CC)) { RETURN_FALSE; } |
Copyright © 2001-2024 The PHP Group All rights reserved. |
Last updated: Sat Dec 21 16:01:28 2024 UTC |