mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-12 09:13:07 +01:00
Update random.php
As we are only using URIs, made it listBoards(true) for performance reasons.
This commit is contained in:
parent
416a48838c
commit
1187e6865f
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
include "inc/functions.php";
|
include "inc/functions.php";
|
||||||
|
|
||||||
$boards = listBoards();
|
$boards = listBoards(true);
|
||||||
$board = array_rand($boards);
|
$board = array_rand($boards);
|
||||||
|
|
||||||
header('Location: /'.$boards[$board]["uri"]);
|
header('Location: /'.$boards[$board]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user