diff options
author | Andrew Dolgov <[email protected]> | 2014-03-14 14:38:51 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2014-03-14 14:38:51 +0400 |
commit | 31460f84fe350a04fd796763c4a444dcd10c7338 (patch) | |
tree | ed9a01690b82b3239c9d4ff0176e75b64c176706 /include/functions2.php | |
parent | 8b91b0beb59bc6f7d9e1e75997d77f3bd64d961a (diff) |
make_init_params: add some additional information useful for reporting
Diffstat (limited to 'include/functions2.php')
-rw-r--r-- | include/functions2.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/functions2.php b/include/functions2.php index ed0963c46..57475183a 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"]); |