Three things:<div>1. That was indeed just a quick example off the top of my head. In fact, it&#39;s a broken one too (should be $this-&gt;error, not $error).</div><div><br></div><div>2. You can do any kind of checks you want. The way it works is that it reads in all the files then runs them through all the checks. If you want to loop through the $php_files and look in all of them, that&#39;s easily doable. They&#39;re indexed by filename in case a more specific check is needed.</div>
<div><br></div><div>3. Ah, hell.. Here&#39;s the code. It works, for a certain definition of &quot;work&quot;. Toss it in a directory on your webserver somewhere. Make sure you have a high level of PHP (probably 5.1 or higher). Warning: I literally wrote this in about an hour. Don&#39;t expect anything particularly smart, it&#39;s very preliminary.</div>
<div><br></div><div><a href="http://ottodestruct.com/themecheck.zip">http://ottodestruct.com/themecheck.zip</a></div><div><br></div><div>-Otto<br><br></div>