From 785452873f0ee0a27fc157b482b7551560f0282d Mon Sep 17 00:00:00 2001 From: lolcat Date: Tue, 7 Nov 2023 08:04:56 -0500 Subject: fix typo --- music.php | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'music.php') diff --git a/music.php b/music.php index c95fb4c..5bc3e5f 100644 --- a/music.php +++ b/music.php @@ -3,6 +3,8 @@ /* Initialize random shit */ +include "data/config.php"; + include "lib/frontend.php"; $frontend = new frontend(); @@ -28,20 +30,7 @@ try{ }catch(Exception $error){ - echo - $frontend->drawerror( - "Shit", - 'This scraper returned an error:' . - '
' . htmlspecialchars($error->getMessage()) . '
' . - 'Things you can try:' . - '
' . - 'If the error persists, please contact the administrator.' - ); - die(); + $frontend->drawscrapererror($error->getMessage(), $get, "music"); } $categories = [ -- cgit v1.2.3