diff options
Diffstat (limited to 'pages/api/plex-thumb.php')
-rw-r--r-- | pages/api/plex-thumb.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/api/plex-thumb.php b/pages/api/plex-thumb.php index 4a20159..4009871 100644 --- a/pages/api/plex-thumb.php +++ b/pages/api/plex-thumb.php @@ -1,6 +1,6 @@ <?php -$app = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/app.json"), true); +$app = $GLOBALS["ColdHazeApp"]; if (isset($_GET["library"]) && isset($_GET["id"]) && is_numeric($_GET["library"]) && is_numeric($_GET["id"])) { header("Content-Type: image/jpg"); |