diff options
Diffstat (limited to 'pages/api/plex.php')
-rw-r--r-- | pages/api/plex.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/api/plex.php b/pages/api/plex.php index a2fa739..00164c7 100644 --- a/pages/api/plex.php +++ b/pages/api/plex.php @@ -1,7 +1,7 @@ <?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/util/random.inc"; -$app = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/app.json"), true); +$app = $GLOBALS["ColdHazeApp"]; function formatTitle($metadata) { if ($metadata['grandparentTitle']) { |