From 785452873f0ee0a27fc157b482b7551560f0282d Mon Sep 17 00:00:00 2001 From: lolcat Date: Tue, 7 Nov 2023 08:04:56 -0500 Subject: fix typo --- web.php | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'web.php') diff --git a/web.php b/web.php index 05700b2..97905be 100644 --- a/web.php +++ b/web.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, "web"); } /* -- cgit v1.2.3