From dbcf674ec2f31a0447b174ecd07d02adcff2b3d9 Mon Sep 17 00:00:00 2001 From: Roland von Herget Date: Thu, 4 Feb 2016 17:43:06 +0100 Subject: [PATCH] fix demo OTA php script --- doc/ota_updates/ota_updates.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/ota_updates/ota_updates.md b/doc/ota_updates/ota_updates.md index c620ffa093..81456f81c5 100644 --- a/doc/ota_updates/ota_updates.md +++ b/doc/ota_updates/ota_updates.md @@ -507,7 +507,7 @@ $db = array( ); if(isset($db[$_SERVER['HTTP_X_ESP8266_STA_MAC']])) { - if($db[$_SERVER['HTTP_X_ESP8266_STA_MAC']] != $_SERVER['HTTP_X_ESP8266_VERSION']) ) { + if($db[$_SERVER['HTTP_X_ESP8266_STA_MAC']] != $_SERVER['HTTP_X_ESP8266_VERSION']) { sendFile("./bin/".$db[$_SERVER['HTTP_X_ESP8266_STA_MAC']]."bin"); } else { header($_SERVER["SERVER_PROTOCOL"].' 304 Not Modified', true, 304);