diff options
author | Wez Furlong <wez@php.net> | 2004-09-19 18:13:09 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2004-09-19 18:13:09 +0000 |
commit | f40608230b5d4532b5a4596edfddb694c5e42cf2 (patch) | |
tree | 98d3a4d443596851ae3f0d767989af7bef651179 /ext/pdo_sqlite/sqlite_driver.c | |
parent | 797303d23af6a1678203802f880b8eb6a34b0d06 (diff) | |
download | php-git-f40608230b5d4532b5a4596edfddb694c5e42cf2.tar.gz |
Use NO_PERM code here
Diffstat (limited to 'ext/pdo_sqlite/sqlite_driver.c')
-rw-r--r-- | ext/pdo_sqlite/sqlite_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_sqlite/sqlite_driver.c b/ext/pdo_sqlite/sqlite_driver.c index 3fd2152702..9f2d3f953b 100644 --- a/ext/pdo_sqlite/sqlite_driver.c +++ b/ext/pdo_sqlite/sqlite_driver.c @@ -307,7 +307,7 @@ static int pdo_sqlite_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRMLS filename = make_filename_safe(dbh->data_source TSRMLS_CC); if (!filename) { - zend_throw_exception_ex(php_pdo_get_exception(), PDO_ERR_CANT_MAP TSRMLS_CC, + zend_throw_exception_ex(php_pdo_get_exception(), PDO_ERR_NO_PERM TSRMLS_CC, "safe_mode/open_basedir prohibits opening %s", dbh->data_source); goto cleanup; |