# HG changeset patch # User edogawaconan # Date 1413903879 -32400 # Node ID 9abfd376740deb2fa6e1599097ef91760e10ff7f # Parent 47a281c1d54eac3644f56cf12722fdc6acf23a1b Use `||` instead of `or`. diff -r 47a281c1d54e -r 9abfd376740d index.php --- a/index.php Tue Oct 21 22:07:03 2014 +0900 +++ b/index.php Wed Oct 22 00:04:39 2014 +0900 @@ -32,7 +32,7 @@ $files = array(); $dirs = array(); while (($file = readdir($dir_handle)) !== false) { - if ($file === "." or $file === "..") { continue; } + if ($file === "." || $file === "..") { continue; } elseif (is_dir($root . $path . $file)) { $dirs[] = $file; } else { $files[] = $file; } }