Skip to content

Developer notes

Files::scan() lists PHP, template, script and .htaccess files under app, design, js, var/themes_repository and the root, and hashes them 200 at a time with one read and one REPLACE per batch. The first scan decides once whether it fills the baseline. Counts shown are those of the last finished scan, so files not reached yet never look removed.

Table Contents
?:kv_shc_files Path, baseline hash, current hash, seen in this scan
?:kv_shc_state Last result, scan state, last finished counts
Hook Purpose
dispatch_before_display Notice for administrators, once per session

Checks::isOn() is checked by the page actions, the cron and the notice.