diff options
| author | Andi Gutmans <andi@php.net> | 2006-02-19 00:55:22 +0000 |
|---|---|---|
| committer | Andi Gutmans <andi@php.net> | 2006-02-19 00:55:22 +0000 |
| commit | e94e25e62123385393b8221088cb765305cd0d0e (patch) | |
| tree | 846214babc8a66c0a76c77b42626672938abae0c /ext/pgsql/pgsql.c | |
| parent | d73533a9d4a7ee2fe716e7c6b0da1deecf87e62a (diff) | |
| download | php-git-e94e25e62123385393b8221088cb765305cd0d0e.tar.gz | |
Start nuking safe_mode. Still a lot of work to do...
Diffstat (limited to 'ext/pgsql/pgsql.c')
| -rw-r--r-- | ext/pgsql/pgsql.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index 2c5951dc71..4085405dad 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -2808,10 +2808,6 @@ PHP_FUNCTION(pg_lo_import) WRONG_PARAM_COUNT; } - if (PG(safe_mode) &&(!php_checkuid(file_in, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { - RETURN_FALSE; - } - if (php_check_open_basedir(file_in TSRMLS_CC)) { RETURN_FALSE; } @@ -2906,10 +2902,6 @@ PHP_FUNCTION(pg_lo_export) RETURN_FALSE; } - if (PG(safe_mode) &&(!php_checkuid(file_out, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { - RETURN_FALSE; - } - if (php_check_open_basedir(file_out TSRMLS_CC)) { RETURN_FALSE; } |
