diff options
| author | Andi Gutmans <andi@php.net> | 2000-11-02 23:08:07 +0000 |
|---|---|---|
| committer | Andi Gutmans <andi@php.net> | 2000-11-02 23:08:07 +0000 |
| commit | d0ec3df2884f58b7d7defb2e6a43e6b060789805 (patch) | |
| tree | 73593b33fce95e5c7bc734b7f29e6df82477dd72 /ext/db/db.c | |
| parent | e17df3a7bcfb6d408ae5db4ceff4b77c4efb9fe4 (diff) | |
| download | php-git-d0ec3df2884f58b7d7defb2e6a43e6b060789805.tar.gz | |
- Use CHECKUID_* #define's instead of cryptic numbers in php_checkuid()
- I did not test for validity of the actual php_checkuid() calls and there
- might be mistakes in the previous code.
Diffstat (limited to 'ext/db/db.c')
| -rw-r--r-- | ext/db/db.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/db/db.c b/ext/db/db.c index 9f42cd8cfc..5c5eb61966 100644 --- a/ext/db/db.c +++ b/ext/db/db.c @@ -289,7 +289,7 @@ dbm_info *php_dbm_open(char *filename, char *mode) { return NULL; } - if (PG(safe_mode) && (!php_checkuid(filename, NULL, 2))) { + if (PG(safe_mode) && (!php_checkuid(filename, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { return NULL; } |
