mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 05:25:56 +00:00
initial WIP for php8; bump php version requirement to 7.0
This commit is contained in:
@@ -3,7 +3,9 @@
|
||||
get_include_path());
|
||||
|
||||
$op = $_REQUEST["op"];
|
||||
@$method = $_REQUEST['subop'] ? $_REQUEST['subop'] : $_REQUEST["method"];
|
||||
$method = !empty($_REQUEST['subop']) ?
|
||||
$_REQUEST['subop'] :
|
||||
$_REQUEST["method"] ?? false;
|
||||
|
||||
if (!$method)
|
||||
$method = 'index';
|
||||
@@ -19,7 +21,7 @@
|
||||
return;
|
||||
}
|
||||
|
||||
@$csrf_token = $_POST['csrf_token'];
|
||||
$csrf_token = $_POST['csrf_token'] ?? "";
|
||||
|
||||
require_once "autoload.php";
|
||||
require_once "sessions.php";
|
||||
|
||||
Reference in New Issue
Block a user