|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2012-03-04 17:33 UTC] landeholm at gmail dot com
Description: ------------ Fails to build: /tmp/pear/temp/inotify/inotify.c:208:6: error: 'struct _php_core_globals' has no member named 'safe_mode' PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 06:00:02 2025 UTC |
Suggested fix: --- a/ext/inotify/inotify.c +++ b/ext/inotify/inotify.c @@ -205,9 +205,6 @@ PHP_FUNCTION(inotify_add_watch) return; } - if (PG(safe_mode) && (!php_checkuid(pathname, NULL, CHECKUID_ALLOW_FILE_NOT_EXISTS))) { - RETURN_FALSE; - } if (php_check_open_basedir(pathname TSRMLS_CC)) { RETURN_FALSE; }