flash.moe/public/signature/redir.php

7 lines
198 B
PHP
Raw Normal View History

2020-08-20 00:02:37 +00:00
<?php
$np = json_decode(file_get_contents('np.json'));
if(!empty($np[0]->nowplaying) && !empty($np[0]->url)) {
header('Location: ' . $np[0]->url);
} else header('Location: https://flash.moe');