From: Banana Date: Sun, 28 Nov 2021 10:07:38 +0000 (+0100) Subject: leftover. Not needed anymore X-Git-Tag: v1.0~9 X-Git-Url: http://91.132.146.200/gitweb/?a=commitdiff_plain;h=7fe765b0e732e69b379ffde0a179cb37ad985912;p=scientia.git leftover. Not needed anymore --- 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