Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: core/modules/image/src/Entity/ImageStyle.php
- IDEA additional info:
- Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
- <+>UTF-8
- ===================================================================
- --- core/modules/image/src/Entity/ImageStyle.php
- +++ core/modules/image/src/Entity/ImageStyle.php
- @@ -183,6 +183,11 @@
- $path = $uri;
- $source_scheme = $scheme = $default_scheme;
- }
- + // Patch to enable styles from the textimage module to be stored in
- + // the public file directory.
- + if ($scheme == 'private' && ($this->id() == 'text')) {
- + $scheme = 'public';
- + }
- return "$scheme://styles/{$this->id()}/$source_scheme/{$this->addExtension($path)}";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement