Files
web/api.php
Adam Warner 46a7bac6e4 Update api.php
Consume JSON output of chronometer.sh

Relies on [this pull](https://github.com/jacobsalmela/pi-hole/pull/193) being merged.
2016-01-18 23:04:03 +00:00

4 lines
62 B
PHP

<?php
echo exec("/usr/local/bin/chronometer.sh -j");
?>