X-Git-Url: https://git.rvb.name/squid-reports.git/blobdiff_plain/823133accebdf5f40aff0d1807389438a053423c..e4cb31c9f27963d3fd391de67e64d348ed3d3fed:/web/api.php?ds=sidebyside 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;