From 6a13ff101c9525d3a10196c4eb5f720127a8c92b Mon Sep 17 00:00:00 2001 From: Piotr Szefler Date: Sat, 27 Mar 2021 17:37:00 +0100 Subject: [PATCH] =?UTF-8?q?Prze=C5=9Blij=20pliki=20do=20''?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controller.php | 2 +- events_arch.php | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/controller.php b/controller.php index 7af2230..3147a6b 100644 --- a/controller.php +++ b/controller.php @@ -8,7 +8,7 @@ exit(); } $_SESSION['numevent'] = $_GET['info']; - ini_set("display_errors", 0); + require_once "dbconnect.php"; $polaczenie = mysqli_connect($host, $db_user, $db_password); mysqli_query($polaczenie, "SET CHARSET utf8"); diff --git a/events_arch.php b/events_arch.php index 3d2fc59..7120c14 100644 --- a/events_arch.php +++ b/events_arch.php @@ -68,12 +68,8 @@ } if ($ile>=1) { -if($_SESSION['perm']=='modder' || $_SESSION['perm']=='admin'){ - echo ''; -} -else{ - echo 'ID Eventu'; -} +echo 'ID Eventu'; + echo<<Nazwa Eventu