mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
Access to global variable safe_mode fixed.
This commit is contained in:
parent
3d3d238021
commit
cd2929aead
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue