mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-11-24 23:06:40 -06:00
7 lines
193 B
PHP
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);
|