Files
pokemon-showdown-client/lib/news.lib.php
Guangcong Luo 49b54209eb
Some checks failed
Node.js CI / build (24.x) (push) Has been cancelled
Migrate news/servers.inc.php to .json (#2723)
2026-11-10 00:37:41 -08:00

7 lines
193 B
PHP

<?php
$newsData = json_decode(file_get_contents(__DIR__ . '/../config/news.json'), true);
$latestNewsCache = $newsData['latest'] ?? [];
$newsCache = $newsData['news'] ?? [];
unset($newsData);