1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-08-05 05:37:49 +02:00

[3.1.0] Maintenance scripts emit and honor proper exit codes

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1640 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang
2008-04-03 20:52:08 +00:00
parent 0e51e42197
commit 1d25be875d
7 changed files with 10 additions and 7 deletions

View File

@@ -68,7 +68,7 @@ class FSTools
}
// Loop through the folder
$dir = $this->dir($source);
while (false !== $entry = $dir->read()) {
while ( false !== ($entry = $dir->read()) ) {
// Skip pointers
if ($entry == '.' || $entry == '..') {
continue;