diff options
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; } |
