1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-19 09:27:24 +01:00

Merge pull request #53 from anonfagola/patch-7

Update random.php
This commit is contained in:
Fredrick Brennan 2014-09-25 12:33:21 -04:00
commit 7b9db3125e

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