blob: 7e335b7e62243c70de5f2ec4b5405eff8b9e6621 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
<?php
header("X-Frame-Options: SAMEORIGIN");
header("Content-Type: application/json");
require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.php"; global $songs;
if (!isset($_GET["id"]) || !isset($songs[$_GET["id"]])) {
die();
}
die(file_exists($_SERVER['DOCUMENT_ROOT'] . "/assets/content/" . $_GET["id"] . ".stella") ? "true" : "false");
|