pokemon-showdown-client/build-tools/news-data.php
Guangcong Luo 5d41f3ec93
Reorganize directories (#2187)
Files meant to be served have been moved into
`play.pokemonshowdown.com/` and `pokemonshowdown.com/`.

We now have three directories for the three subdomains handled by this
repo:

- `pokemonshowdown.com/`
- `play.pokemonshowdown.com/`
- `replay.pokemonshowdown.com/`

Naming them after the subdomains will make it much easier to tell where
the files for each go.

The diff is probably useless; it'll be easier if you just look at the
new tree:
https://github.com/smogon/pokemon-showdown-client/tree/reorganize
2023-11-16 03:39:29 -08:00

6 lines
169 B
PHP

<?php
date_default_timezone_set('America/Los_Angeles');
include __DIR__.'/../pokemonshowdown.com/news/include.php';
echo json_encode(array(getNewsId(), renderNews()));