added a form to change to ondemand mode

master
Jan Danielzick 2020-02-12 05:34:27 +01:00
parent 3e6c23a002
commit 89d870b793
1 changed files with 4 additions and 0 deletions

View File

@ -28,6 +28,10 @@ echo "Done.";
<body class="status_page">
<h1> Strassenkind Server Status </h1>
<hr />
<form action="" method="post">
<input type="submit" value="Run ondemand commands" name="ondemand" />
</form>
<hr />
<?php
// run ondemand command list if demanded
if (isset($_POST['ondemand'])) {