From 6c90d8e34e7387b93e012f25cca61094ac0a4653 Mon Sep 17 00:00:00 2001 From: themohooks <81331307+themohooks@users.noreply.github.com> Date: Thu, 4 Jul 2024 12:08:17 +0300 Subject: [PATCH] update controllers --- app/Controllers/MainController.php | 32 ++++++++++++++++++++++++++++++ views/pages/Main.php | 1 + 2 files changed, 33 insertions(+) diff --git a/app/Controllers/MainController.php b/app/Controllers/MainController.php index e69de29..fb1de1c 100644 --- a/app/Controllers/MainController.php +++ b/app/Controllers/MainController.php @@ -0,0 +1,32 @@ +$_COOKIE['NGALLERYSERVICE'])); + setcookie('NGALLERYSERVICE', '', 1); + setcookie('NGALLERYSESS', '', 1); + setcookie('NGALLERYSESS_', '', 1); + setcookie('NGALLERYID', '', 1); + header('Location: /'); + } + +} \ No newline at end of file diff --git a/views/pages/Main.php b/views/pages/Main.php index e69de29..b45ef6f 100644 --- a/views/pages/Main.php +++ b/views/pages/Main.php @@ -0,0 +1 @@ +Hello, World! \ No newline at end of file