From: Andrew Dolgov Date: Fri, 14 Mar 2014 10:38:51 +0000 (+0400) Subject: make_init_params: add some additional information useful for reporting X-Git-Tag: 1.12~9 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=31460f84fe350a04fd796763c4a444dcd10c7338;p=tt-rss.git make_init_params: add some additional information useful for reporting --- diff --git a/include/functions2.php b/include/functions2.php index ed0963c4..57475183 100644 --- a/include/functions2.php +++ b/include/functions2.php @@ -18,6 +18,11 @@ $params["bw_limit"] = (int) $_SESSION["bw_limit"]; $params["label_base_index"] = (int) LABEL_BASE_INDEX; + $params["php_platform"] = PHP_OS; + $params["php_version"] = PHP_VERSION; + + $params["sanity_checksum"] = sha1(file_get_contents("include/sanity_check.php")); + $result = db_query("SELECT MAX(id) AS mid, COUNT(*) AS nf FROM ttrss_feeds WHERE owner_uid = " . $_SESSION["uid"]);