changeset 11:9abfd376740d

Use `||` instead of `or`.
author edogawaconan <me@myconan.net>
date Wed, 22 Oct 2014 00:04:39 +0900
parents 47a281c1d54e
children 37fad414ac29
files index.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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; }
   }