pokemon-showdown-client/build-tools/news-data.php
Guangcong Luo 15c73c922f Refactor build system
We no longer have the relevant Githook for automatic building, so
putting it in `githooks/` no longer makes much sense. It's now manually
called with a build script `./build`, like other PS websites (most
notably PSDex and the damagecalc).
2017-12-04 17:37:01 -05:00

6 lines
172 B
PHP

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