From c9763b2b20ce52a51dad45a8be5839ba57130b98 Mon Sep 17 00:00:00 2001 From: Henry Gross-Hellsen <6283258+cowpod@users.noreply.github.com> Date: Thu, 31 Oct 2024 15:10:01 -0700 Subject: [PATCH] index.php: move /api/mp.php to functions/mp_latest_recommended.php --- index.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 7ff7e1a..704cb96 100644 --- a/index.php +++ b/index.php @@ -33,6 +33,8 @@ require('functions/interval_range_utils.php'); require('functions/format_number.php'); +require('functions/mp_latest_recommended.php'); + if (strpos($url, '?') !== false) { $url = substr($url, 0, strpos($url, "?")); } @@ -800,8 +802,7 @@ function uri($uri) {