pokemon-showdown-client/githooks/news-data.php
Robin Vandenbrande 2cf20ff643 Have git hooks use node.js rather than PHP
Also remove the dynamic hook since it's unused
2014-08-28 20:30:04 +02: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()));