1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-31 04:13:49 +01:00

Update random.php

As we are only using URIs, made it listBoards(true) for performance reasons.
This commit is contained in:
anonfagola 2014-09-24 17:10:04 -07:00
parent 416a48838c
commit 1187e6865f

View File

@ -2,7 +2,7 @@
include "inc/functions.php";
$boards = listBoards();
$boards = listBoards(true);
$board = array_rand($boards);
header('Location: /'.$boards[$board]["uri"]);
header('Location: /'.$boards[$board]);