1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-21 17:41:29 +00:00

when exporting OPML via web UI, add user login to the filename

This commit is contained in:
Andrew Dolgov
2020-07-01 10:02:24 +03:00
parent fa653f5a43
commit b6372a846d

View File

@@ -8,7 +8,7 @@ class Opml extends Handler_Protected {
} }
function export() { function export() {
$output_name = "tt-rss_".date("Y-m-d").".opml"; $output_name = sprintf("tt-rss_%s_%s.opml", $_SESSION["name"], date("Y-m-d"));
$include_settings = $_REQUEST["include_settings"] == "1"; $include_settings = $_REQUEST["include_settings"] == "1";
$owner_uid = $_SESSION["uid"]; $owner_uid = $_SESSION["uid"];