diff options
author | Kristian Köhntopp <kk@php.net> | 2000-07-26 21:38:21 +0000 |
---|---|---|
committer | Kristian Köhntopp <kk@php.net> | 2000-07-26 21:38:21 +0000 |
commit | cd2929aead66a8aac9468ceae76ba77fd791fbdc (patch) | |
tree | 6de5cd237e4a442e076d74bc23030608abc0cb93 | |
parent | 3d3d23802162c256cad5b33ed4cdd7f028803c27 (diff) | |
download | php-git-cd2929aead66a8aac9468ceae76ba77fd791fbdc.tar.gz |
Access to global variable safe_mode fixed.
-rw-r--r-- | ext/posix/posix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/posix/posix.c b/ext/posix/posix.c index 72bd8277c4..3e0b39bffa 100644 --- a/ext/posix/posix.c +++ b/ext/posix/posix.c @@ -664,7 +664,7 @@ PHP_FUNCTION(posix_mkfifo) convert_to_string(path); convert_to_long(mode); - if (php3_ini.safe_mode && (!php_checkuid(path->value.str.val, NULL, 3))) { + if (PG(safe_mode) && (!php_checkuid(path->value.str.val, NULL, 3))) { RETURN_FALSE; } result = mkfifo(path->value.str.val, mode->value.lval); |