s1 #10
10
.hta_404.php
10
.hta_404.php
@@ -21,11 +21,11 @@
|
||||
$totalPageContent = $headerContent . $pageContent . $footerContent;
|
||||
$filePath = __DIR__ . '/' . $fileName;
|
||||
|
||||
// if (file_put_contents($filePath, $totalPageContent)) {
|
||||
// // echo "<p class='text-success'>Page saved successfully at $filePath.</p>";
|
||||
// } else {
|
||||
// // echo "<p class='text-danger'>Failed to save the page.</p>";
|
||||
// }
|
||||
if (file_put_contents($filePath, $totalPageContent)) {
|
||||
// echo "<p class='text-success'>Page saved successfully at $filePath.</p>";
|
||||
} else {
|
||||
// echo "<p class='text-danger'>Failed to save the page.</p>";
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user