From e114201cc9aa02b9aa3e24b487429cbeb6a53adb Mon Sep 17 00:00:00 2001 From: Karl Hudgell Date: Thu, 1 Dec 2016 14:51:59 +0000 Subject: [PATCH] fix --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index b80c721..80c60c1 100644 --- a/index.php +++ b/index.php @@ -85,10 +85,10 @@ $file = file_get_contents('/home/pi/hugh/rgb', FILE_USE_INCLUDE_PATH); $rgb = "Red"; } else if ($file > "0, 255, 0") { $rgb = "Green"; - else if ($file > "0, 0, 255") { +} else if ($file > "0, 0, 255") { $rgb = "Blue"; } -} + // Rendering Page. ?>