<?php
$filename =$_GET['filename'];

$filename = '/var/modbuslog/'.$filename;

$filecontents = file_get_contents($filename, FILE_USE_INCLUDE_PATH);

echo $filecontents;
?>
 feed' href='https://git.dereenigne.org/dtv-scan-tables.git/atom/dvb-t/fi-Porvoo_Suomenkyla?h=master' type='application/atom+xml'/>
<link rel='vcs-git' href='https://git.dereenigne.org/dtv-scan-tables.git' title='dtv-scan-tables.git Git repository'/>
</head>
<body>
<div id='cgit'><table id='header'>
<tr>
<td class='logo' rowspan='2'><a href='/'><img src='/cgit.png' alt='cgit logo'/></a></td>
<td class='main'><a href='/'>index</a> : <a href='/dtv-scan-tables.git/'>dtv-scan-tables.git</a></td><td class='form'><form method='get'>
<input type='hidden' name='id' value='3c4e68a3500c6eea73288afdb35d758f2b626d92'/><input type='hidden' name='showmsg' value='1'/><select name='h' onchange='this.form.submit();'>
<option value='master' selected='selected'>master</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>Digital TV scan tables</td><td class='sub right'>Jonathan McCrohan</td></tr></table>
<table class='tabs'><tr><td>
<a href='/dtv-scan-tables.git/about/'>about</a><a href='/dtv-scan-tables.git/'>summary</a><a href='/dtv-scan-tables.git/refs/?id=3c4e68a3500c6eea73288afdb35d758f2b626d92'>refs</a><a class='active' href='/dtv-scan-tables.git/log/dvb-t/fi-Porvoo_Suomenkyla?showmsg=1&amp;follow=1'>log</a><a href='/dtv-scan-tables.git/tree/dvb-t/fi-Porvoo_Suomenkyla?id=3c4e68a3500c6eea73288afdb35d758f2b626d92'>tree</a><a href='/dtv-scan-tables.git/commit/dvb-t/fi-Porvoo_Suomenkyla?id=3c4e68a3500c6eea73288afdb35d758f2b626d92&amp;follow=1'>commit</a><a href='/dtv-scan-tables.git/diff/dvb-t/fi-Porvoo_Suomenkyla?id=3c4e68a3500c6eea73288afdb35d758f2b626d92&amp;follow=1'>diff</a><a href='/dtv-scan-tables.git/stats/dvb-t/fi-Porvoo_Suomenkyla'>stats</a></td><td class='form'><form class='right' method='get' action='/dtv-scan-tables.git/log/dvb-t/fi-Porvoo_Suomenkyla'>
<input type='hidden' name='id' value='3c4e68a3500c6eea73288afdb35d758f2b626d92'/><input type='hidden' name='showmsg' value='1'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/dtv-scan-tables.git/log/?id=3c4e68a3500c6eea73288afdb35d758f2b626d92&amp;showmsg=1&amp;follow=1'>root</a>/<a href='/dtv-scan-tables.git/log/dvb-t?id=3c4e68a3500c6eea73288afdb35d758f2b626d92&amp;showmsg=1&amp;follow=1'>dvb-t</a>/<a href='/dtv-scan-tables.git/log/dvb-t/fi-Porvoo_Suomenkyla?id=3c4e68a3500c6eea73288afdb35d758f2b626d92&amp;showmsg=1&amp;follow=1'>fi-Porvoo_Suomenkyla</a> (<a href='/dtv-scan-tables.git/log/dvb-t/fi-Porvoo_Suomenkyla?id=3c4e68a3500c6eea73288afdb35d758f2b626d92&amp;showmsg=1'>unfollow</a>)</div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/dtv-scan-tables.git/log/dvb-t/fi-Porvoo_Suomenkyla?id=3c4e68a3500c6eea73288afdb35d758f2b626d92&amp;follow=1'>Collapse</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>