Skip to content

Commit

Permalink
Merge pull request #2 from alexvanniel/patch-1
Browse files Browse the repository at this point in the history
Add a simple page refresh
  • Loading branch information
firefly2442 committed May 18, 2016
2 parents 5c7d090 + 5538a43 commit b64662e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion index.php
Expand Up @@ -24,8 +24,13 @@
?>

<title>phpftpwho</title>
<script type="text/javascript">
function timedRefresh(timeoutPeriod) {
setTimeout("location.reload(true);",timeoutPeriod);
}
</script>
</head>
<body>
<body onload="timedRefresh(5000);">
<center>
<h2>Current FTP Access</h2>
</center>
Expand Down

0 comments on commit b64662e

Please sign in to comment.