improvements + page testing php scripts (use with php -S localhost:1337 in the folder)

This commit is contained in:
2017-01-29 01:58:36 +01:00
parent b1baffa3d5
commit e62c4ece90
6 changed files with 38 additions and 7 deletions
+15
View File
@@ -0,0 +1,15 @@
<?php
$f = file_get_contents('term.html');
$f = str_replace('%screenData%',
'{
"w": 26, "h": 10,
"x": 0, "y": 0,
"cv": 1,
"screen": "70 t259"
}', $f);
$f = str_replace('window.location.host', '"192.168.0.15"', $f);
echo $f;