You are here

constant STREAM_WRAPPERS_NORMAL in Drupal 7

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
Drupal stream wrapper interface.

Code

define('STREAM_WRAPPERS_NORMAL', STREAM_WRAPPERS_WRITE_VISIBLE);