system_stream_wrapper
3,034 sites
Security covered
Provides stream wrappers to access module, theme, profile, and library files and directories. Note these stream wrappers are read-only as none of these files or directories should be write-able by your webserver.
Want to help get these stream wrappers into core? Subscribe and/or help review #1308152: Add stream wrappers to access .json files in extensions!
Examples
- module://file/icons/text-plain.png
- theme://bartik/screenshot.png
- theme://default/screenshot.png
- profile://minimal/minimal.info
- profile://current/standard.info (profile://current expands to the active profile for the site)
- library://ckeditor/images/spacer.gif (works only if the Libraries module is enabled)
Related modules
- Remote stream wrapper for http://, https://, and feed:// URLs.