1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-19 17:28:41 +01:00
vichan/random.php
anonfagola 1187e6865f Update random.php
As we are only using URIs, made it listBoards(true) for performance reasons.
2014-09-24 17:10:04 -07:00

9 lines
135 B
PHP

<?php
include "inc/functions.php";
$boards = listBoards(true);
$board = array_rand($boards);
header('Location: /'.$boards[$board]);