Skip to content

Commit

Permalink
Better handling of initial connections
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbig committed Jun 3, 2016
1 parent dd490a2 commit aca05a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ota/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
file_put_contents('/tmp/esp_debug.txt', print_r($_SERVER, true));

if (
empty($_SERVER['HTTP_X_ESP8266_VERSION']) ||
!isset($_SERVER['HTTP_X_ESP8266_VERSION']) ||
empty($_SERVER['HTTP_X_ESP8266_MODE']) ||
empty($_GET['id'])
)
Expand Down

0 comments on commit aca05a2

Please sign in to comment.