X-Git-Url: https://git.rvb.name/squid-reports.git/blobdiff_plain/eff4ed40743ea8219bd92df81a1da4b4569bf489..refs/heads/master:/web/api.php?ds=inline diff --git a/web/api.php b/web/api.php index 4da8707..dbb7100 100644 --- a/web/api.php +++ b/web/api.php @@ -61,6 +61,8 @@ $data["site-header"] = $site_header; connect_db(); + + $startdate = exec_query("select min(access_date) sd from access_log"); $cats = exec_query("select mnemo,name,description from rep_cat"); @@ -80,6 +82,7 @@ $data["dictionaries"] = Array( "user_id" => $users, "host_id" => $hosts); $data["online_refresh"] = $online_refresh; $data["online_history"] = $online_history; + $data["start_date"] = $startdate[0]["sd"]; break;