path('theme:checksums')) && filesize($checksums)) { $this['checksum']->verify($this['path']->path('theme:'), $log); if ($count = count($log)) { $html[] = '

Some template files have been modified.

'; $html[] = '
'; $html[] = ''; $html[] = '
'; $html[] = '

To prevent modified files when using FTP, make sure the transfer mode is set to binary.

'; } else { $html[] = '

Verification successful, no file modifications detected.

'; } } else { $html[] = '

Checksum file is missing! Your template is maybe compromised.

'; } echo implode("\n", $html);