Skip to content

Commit

Permalink
Merge pull request #1574 from rherget/small_doc_fix
Browse files Browse the repository at this point in the history
fix demo OTA php script
  • Loading branch information
igrr committed Feb 4, 2016
2 parents 3e42042 + dbcf674 commit b5684b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/ota_updates/ota_updates.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b5684b4

Please sign in to comment.