) {
if (
empty($this->fileSystemPath)
- || (
- !@\file_exists($this->fileSystemPath . 'lib/core.functions.php')
+ || (!@\file_exists($this->fileSystemPath . 'lib/core.functions.php')
&& !@\file_exists($this->fileSystemPath . 'wcf/lib/core.functions.php')
)
) {
'ignorable' => !empty($board['ignorable']) ? $board['ignorable'] : 0,
'isClosed' => $board['isClosed'],
'isInvisible' => $board['isInvisible'],
- 'postSortOrder' => !empty($board['postSortOrder']) ? $board['postSortOrder'] : '',
'postsPerPage' => !empty($board['postsPerPage']) ? $board['postsPerPage'] : 0,
'searchable' => isset($board['searchable']) ? \intval($board['searchable']) : 1, // wbb3.1
'searchableForSimilarThreads' => isset($board['searchableForSimilarThreads']) ? \intval($board['searchableForSimilarThreads']) : 1, // wbb3.1
'isClosed' => $board['isClosed'],
'isInvisible' => $board['isInvisible'],
'isPrivate' => $board['isPrivate'] ?? 0,
- 'postSortOrder' => $board['postSortOrder'],
'postsPerPage' => $board['postsPerPage'],
'searchable' => $board['searchable'],
'searchableForSimilarThreads' => $board['searchableForSimilarThreads'],