small cleanup of ignore files etc

This commit is contained in:
2017-07-08 15:09:05 +02:00
parent fd5c8f3a6b
commit c39391f4a0
7 changed files with 162 additions and 16 deletions
+4 -2
View File
@@ -1,13 +1,15 @@
<?php
require '_test_env.php';
$f = file_get_contents('wifi.html');
$f = str_replace('%StaSSID%', 'Chlivek', $f);
$f = str_replace('%StaIP%', '192.168.0.15', $f);
$f = str_replace('%StaIP%', json_encode(ESP_IP), $f);
$f = str_replace('%WiFiModeNum%', '1', $f);
$f = str_replace('%WiFiMode%', 'Client', $f);
$f = str_replace('%WiFiChannel%', '1', $f);
$f = str_replace('window.location.host', '"192.168.0.15"', $f);
$f = str_replace('window.location.host', json_encode(ESP_IP), $f);
echo $f;