From 7fe765b0e732e69b379ffde0a179cb37ad985912 Mon Sep 17 00:00:00 2001 From: Banana Date: Sun, 28 Nov 2021 11:07:38 +0100 Subject: [PATCH] leftover. Not needed anymore --- webroot/index.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/webroot/index.php b/webroot/index.php index ea3a8e7..5a04fc8 100644 --- a/webroot/index.php +++ b/webroot/index.php @@ -92,12 +92,6 @@ if(isset($_GET['id']) && Summoner::validate($_GET['id'], 'shortlink',4)) { $_view = 'entry'; } -try { - $_date = new DateTime("$_year-$_month-$_day"); -} catch (Exception $e) { - $_date = new DateTime(); -} - require_once 'view/'.$_view.'/'.$_view.'.php'; # header information -- 2.39.5