gem-diamond
schmarty
·
2024-06-24
·
via Feed of "schmarty/gem-diamond"
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
|
|
|
|
@ -117,7 +117,7 @@ class Controller {
|
|
|
|
|
|
|
|
|
|
if($fromSite) {
|
|
|
|
|
// get the next active site by our current ordering
|
|
|
|
|
$toUrl = $this->site->getNextSite($fromSite['url'])['url'] ?? '/';
|
|
|
|
|
$toUrl = $this->site->getPreviousSite($fromSite['url'])['url'] ?? '/';
|
|
|
|
|
} else {
|
|
|
|
|
// get a random active site and redirect to it!
|
|
|
|
|
$toUrl = $this->site->randomActive()['url'];
|
|
|
|
|
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。