1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-28 00:57:11 +00:00

remove version.php and VERSION global constant, do version-related things in a slightly less ridiculous way

This commit is contained in:
Andrew Dolgov
2019-12-18 14:27:40 +03:00
parent 10aabfcd09
commit 72d0fac80c
8 changed files with 43 additions and 56 deletions

View File

@@ -7,7 +7,6 @@
require_once "errorhandler.php";
require_once "lib/accept-to-gettext.php";
require_once "lib/gettext/gettext.inc";
require_once "version.php";
$session_expire = min(2147483647 - time() - 1, max(SESSION_COOKIE_LIFETIME, 86400));
$session_name = (!defined('TTRSS_SESSION_NAME')) ? "ttrss_sid" : TTRSS_SESSION_NAME;