diff options
Diffstat (limited to 'www/stanje.php')
-rw-r--r-- | www/stanje.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/www/stanje.php b/www/stanje.php new file mode 100644 index 0000000..da429e1 --- /dev/null +++ b/www/stanje.php @@ -0,0 +1,6 @@ +<pre> +<?php + shell_exec("echo > ../tmp/stanje.txt && sleep 1 && pkill -sigusr1 travnik"); + sleep(1); + echo file_get_contents("../tmp/stanje.txt"); +?> |