projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website]
/
web
/
core
/
modules
/
system
/
src
/
Plugin
/
ImageToolkit
/
GDToolkit.php
diff --git
a/web/core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php
b/web/core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php
index 818c5b5cf0ef13d28026ecb01243729e8c829841..308a8075b51fe7214a4610c0507aaf5b45c48802 100644
(file)
--- a/
web/core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php
+++ b/
web/core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php
@@
-224,7
+224,7
@@
class GDToolkit extends ImageToolkitBase {
$destination = drupal_tempnam('temporary://', 'gd_');
}
// Convert stream wrapper URI to normal path.
$destination = drupal_tempnam('temporary://', 'gd_');
}
// Convert stream wrapper URI to normal path.
- $destination =
drupal_
realpath($destination);
+ $destination =
\Drupal::service('file_system')->
realpath($destination);
}
$function = 'image' . image_type_to_extension($this->getType(), FALSE);
}
$function = 'image' . image_type_to_extension($this->getType(), FALSE);