Deprecation: #77524 - Deprecated method fileResource of ContentObjectRenderer

See forge#77524

Description

The method ContentObjectRenderer::fileResource() has been marked as deprecated.

Impact

Using the mentioned method will trigger a deprecation log entry.

Affected Installations

Instances that use the method.

Migration

Migrate your code to use file_get_contents. Use a call to $GLOBALS['TSFE']->tmpl->getFileName($fileName) for substituting strings like EXT.