forked from GithubBackups/vichan
Don't die on bad board configs
This commit is contained in:
parent
938333d692
commit
2f352f390d
@ -56,7 +56,7 @@ foreach ($boards as $i => &$board) {
|
|||||||
if ($board_config && $board['uri'] !== 'int') {
|
if ($board_config && $board['uri'] !== 'int') {
|
||||||
$board_config = str_replace('$config', '$boardCONFIG', $board_config);
|
$board_config = str_replace('$config', '$boardCONFIG', $board_config);
|
||||||
$board_config = str_replace('<?php', '', $board_config);
|
$board_config = str_replace('<?php', '', $board_config);
|
||||||
eval($board_config);
|
@eval($board_config);
|
||||||
}
|
}
|
||||||
$showboard = $board['indexed'];
|
$showboard = $board['indexed'];
|
||||||
$locale = isset($boardCONFIG['locale'])?$boardCONFIG['locale']:'en';
|
$locale = isset($boardCONFIG['locale'])?$boardCONFIG['locale']:'en';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user