STREAM_WRAPPERS_NORMAL

Stream wrapper type flag -- the default when 'type' is omitted from hook_stream_wrappers(). This does not include STREAM_WRAPPERS_LOCAL, because PHP grants a greater trust level to local files (for example, they can be used in an "include" statement, regardless of the "allow_url_include" setting), so stream wrappers need to explicitly opt-in to this.

2 uses of STREAM_WRAPPERS_NORMAL
file_get_stream_wrappers in includes/file.inc
Provides Drupal stream wrapper registry.
stream_wrappers.inc in includes/stream_wrappers.inc
Drupal stream wrapper interface.

File

includes/stream_wrappers.inc, line 86

Code

define('STREAM_WRAPPERS_NORMAL', STREAM_WRAPPERS_WRITE_VISIBLE);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.