From da225d7213f1ffa815a4815ffda2b530277caed0 Mon Sep 17 00:00:00 2001 From: Anonymous Contributor Date: Wed, 23 Aug 2023 18:16:35 +0200 Subject: [PATCH] Do not include unused discord class --- crone.php | 1 - index.php | 1 - 2 files changed, 2 deletions(-) diff --git a/crone.php b/crone.php index 54f6209..497b810 100644 --- a/crone.php +++ b/crone.php @@ -5,7 +5,6 @@ session_start(); include_once("classen/utils.php"); include_once("classen/HTML.php"); -include_once("classen/discord.php"); $RUNTIME = array(); include_once("config.php"); diff --git a/index.php b/index.php index 740eaf1..a142280 100644 --- a/index.php +++ b/index.php @@ -19,7 +19,6 @@ if(!isset($_SESSION['csrf']) || strlen($_SESSION['csrf']) != 64) { include_once("classen/utils.php"); include_once("classen/HTML.php"); -include_once("classen/discord.php"); function isValidEndpoint(string $pageName, string $dirPrefix) { return preg_match("/[a-zA-Z0-9\.]{1,100}/", $pageName) && file_exists("./".$dirPrefix."/".$pageName.".php");