path('template:checksums')) && filesize($checksums)) { $this['checksum']->verify($this['path']->path('template:'), $log); if ($count = count($log)) { $html[] = 'Some template files have been modified.'; $html[] = ''; } else { $html[] = 'Verification successful, no file modifications detected.'; } } else { $html[] = 'Checksum file is missing! Your template is maybe compromised.'; } echo implode("\n", $html);