From 738bc1f237923806902fa2755b85566a4a845717 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sun, 8 Jun 2025 02:15:49 +0400 Subject: feat: display alert --- public/index.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'public/index.php') diff --git a/public/index.php b/public/index.php index 7df2ce1..5640e9d 100644 --- a/public/index.php +++ b/public/index.php @@ -2,6 +2,7 @@ include_once $_SERVER['DOCUMENT_ROOT'] . '/../config.php'; include_once $_SERVER['DOCUMENT_ROOT'] . '/../lib/partials.php'; include_once $_SERVER['DOCUMENT_ROOT'] . '/../lib/utils.php'; +include_once $_SERVER['DOCUMENT_ROOT'] . '/../lib/alert.php'; session_start(); @@ -18,8 +19,6 @@ $file_id = null; if (strlen(substr($_SERVER['PHP_SELF'], strlen('/index.php'))) > 0) { $file_id = basename($_SERVER['PHP_SELF']); -} else if (isset($_SERVER['QUERY_STRING']) && !empty(trim($_SERVER['QUERY_STRING']))) { - $file_id = basename($_SERVER['QUERY_STRING']); } if (FILE_CATALOG_FANCY_VIEW && $file_id) { @@ -145,9 +144,11 @@ $privacy_exists = is_file($_SERVER['DOCUMENT_ROOT'] . '/static/PRIVACY.txt'); + +
-
+

@@ -197,6 +198,8 @@ $privacy_exists = is_file($_SERVER['DOCUMENT_ROOT'] . '/static/PRIVACY.txt'); + +

What is ?

-- cgit v1.2.3