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"; 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]);