33
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2024-12-29 04:42:36 +00:00

fixed: JFile::read is not supported by Joomla! 4

This commit is contained in:
Denis Ryabov 2021-02-23 21:05:14 +03:00
parent 80abc68994
commit 0ac7ee0f6b

View File

@ -112,7 +112,7 @@ class JedcheckerControllerPolice extends JControllerLegacy
if (JFile::exists($local)) if (JFile::exists($local))
{ {
$content = JFile::read($local); $content = file_get_contents($local);
if (!empty($content)) if (!empty($content))
{ {