mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 11:45:56 +00:00
initial WIP for php8; bump php version requirement to 7.0
This commit is contained in:
@@ -29,7 +29,7 @@ class Af_Proxy_Http extends Plugin {
|
||||
|
||||
$host->add_hook($host::HOOK_PREFS_TAB, $this);
|
||||
|
||||
if (!$_SESSION['af_proxy_http_token'])
|
||||
if (empty($_SESSION['af_proxy_http_token']))
|
||||
$_SESSION['af_proxy_http_token'] = bin2hex(get_random_bytes(16));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user