summaryrefslogtreecommitdiff
path: root/httpdocs/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'httpdocs/index.php')
-rw-r--r--httpdocs/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/httpdocs/index.php b/httpdocs/index.php
index b19b8e9..80f9f53 100644
--- a/httpdocs/index.php
+++ b/httpdocs/index.php
@@ -8,7 +8,7 @@ if ($f === false) {
$l = trim(fgets($f));
pclose($f);
-if (empty($l)) {
+if ($l == '') {
print 'Cannot read gpio - is it installed?';
die();
}