upgrade livewire assets

This commit is contained in:
xiaomlove
2022-11-02 17:31:14 +08:00
parent 233f21ca90
commit 7b65d84752
5 changed files with 5 additions and 5 deletions

View File

@@ -41,7 +41,7 @@ stdhead($lang_getrss['head_rss_feeds']);
$query = []; $query = [];
$query[] = "passkey=" . $CURUSER['passkey']; $query[] = "passkey=" . $CURUSER['passkey'];
if ($_SERVER['REQUEST_METHOD'] == "POST") { if ($_SERVER['REQUEST_METHOD'] == "POST") {
$allowed_showrows=array('10','20','30','40','50'); $allowed_showrows=array('10','50','100','200');
$link = get_protocol_prefix(). $BASEURL ."/torrentrss.php"; $link = get_protocol_prefix(). $BASEURL ."/torrentrss.php";
if (isset($_POST['showrows']) && in_array($_POST['showrows'], $allowed_showrows, 1)) if (isset($_POST['showrows']) && in_array($_POST['showrows'], $allowed_showrows, 1))
$query[] = "rows=".(int)$_POST['showrows']; $query[] = "rows=".(int)$_POST['showrows'];

View File

@@ -881,7 +881,7 @@ if ($CURUSER["torrentsperpage"])
$torrentsperpage = (int)$CURUSER["torrentsperpage"]; $torrentsperpage = (int)$CURUSER["torrentsperpage"];
elseif ($torrentsperpage_main) elseif ($torrentsperpage_main)
$torrentsperpage = $torrentsperpage_main; $torrentsperpage = $torrentsperpage_main;
else $torrentsperpage = 50; else $torrentsperpage = 100;
do_log("[TORRENT_COUNT_SQL] $sql", 'debug'); do_log("[TORRENT_COUNT_SQL] $sql", 'debug');

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
{"/livewire.js":"/livewire.js?id=c69d0f2801c01fcf8166"} {"/livewire.js":"/livewire.js?id=de3fca26689cb5a39af4"}