From 9999c63d73df471f200689aca64add872e4235a6 Mon Sep 17 00:00:00 2001 From: Suvodip Date: Sat, 21 Dec 2024 18:45:58 +0530 Subject: [PATCH] s1 --- .hta_404.php | 10 ++++---- .hta_header.php | 2 +- .hta_slug/faculty.php | 15 +++++++++++ faculty/.hta_404.php | 59 +++++++++++++++++++++++++++++++++++++++++++ faculty/_home.php | 52 ++++++++++++++++++++++++++++++++++++++ faculty/index.php | 46 +++++++++++++++++++++++++++++++++ 6 files changed, 178 insertions(+), 6 deletions(-) create mode 100644 .hta_slug/faculty.php create mode 100644 faculty/.hta_404.php create mode 100644 faculty/_home.php create mode 100644 faculty/index.php diff --git a/.hta_404.php b/.hta_404.php index 9eb64e6..cfcf037 100644 --- a/.hta_404.php +++ b/.hta_404.php @@ -21,11 +21,11 @@ $totalPageContent = $headerContent . $pageContent . $footerContent; $filePath = __DIR__ . '/' . $fileName; - if (file_put_contents($filePath, $totalPageContent)) { - // echo "

Page saved successfully at $filePath.

"; - } else { - // echo "

Failed to save the page.

"; - } + // if (file_put_contents($filePath, $totalPageContent)) { + // // echo "

Page saved successfully at $filePath.

"; + // } else { + // // echo "

Failed to save the page.

"; + // } } try { diff --git a/.hta_header.php b/.hta_header.php index fe5ceb8..a4d8635 100644 --- a/.hta_header.php +++ b/.hta_header.php @@ -302,7 +302,7 @@