summaryrefslogtreecommitdiff
path: root/ext/dbase
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2006-02-19 00:55:22 +0000
committerAndi Gutmans <andi@php.net>2006-02-19 00:55:22 +0000
commite94e25e62123385393b8221088cb765305cd0d0e (patch)
tree846214babc8a66c0a76c77b42626672938abae0c /ext/dbase
parentd73533a9d4a7ee2fe716e7c6b0da1deecf87e62a (diff)
downloadphp-git-e94e25e62123385393b8221088cb765305cd0d0e.tar.gz
Start nuking safe_mode. Still a lot of work to do...
Diffstat (limited to 'ext/dbase')
-rw-r--r--ext/dbase/dbase.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/ext/dbase/dbase.c b/ext/dbase/dbase.c
index f7452baea0..5d4b0f3762 100644
--- a/ext/dbase/dbase.c
+++ b/ext/dbase/dbase.c
@@ -134,10 +134,6 @@ PHP_FUNCTION(dbase_open)
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;
}
@@ -590,10 +586,6 @@ PHP_FUNCTION(dbase_create)
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Expected array as second parameter");
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;