get rid of old about and donate pages
All checks were successful
docker / docker (push) Successful in 11s

Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
ngn
2025-07-11 18:55:46 +03:00
parent c5eeb3c911
commit 4f7e9ff3d8
3 changed files with 0 additions and 79 deletions

View File

@ -1,39 +0,0 @@
<?php
include "data/config.php";
include "lib/frontend.php";
$frontend = new frontend();
echo
$frontend->load(
"header_nofilters.html",
[
"title" => "About",
"class" => " class=\"about\""
]
);
$left =
explode(
"\n",
file_get_contents("template/about.html")
);
$out = "";
foreach($left as $line){
$out .= trim($line);
}
echo
$frontend->load(
"search.html",
[
"timetaken" => null,
"class" => "",
"right-left" => "",
"right-right" => "",
"left" => $out
]
);

View File

@ -1,39 +0,0 @@
<?php
include "data/config.php";
include "lib/frontend.php";
$frontend = new frontend();
echo
$frontend->load(
"header_nofilters.html",
[
"title" => "Donate to the project",
"class" => " class=\"about\""
]
);
$left =
explode(
"\n",
file_get_contents("template/donate.html")
);
$out = "";
foreach($left as $line){
$out .= trim($line);
}
echo
$frontend->load(
"search.html",
[
"timetaken" => null,
"class" => "",
"right-left" => "",
"right-right" => "",
"left" => $out
]
);

View File

@ -123,7 +123,6 @@ class frontend{
'<li>Remove keywords that could cause errors</li>' .
'<li><a href="/instances?target=' . $target . "&" . $this->buildquery($get, false) . '">Try your search on another 4get instance</a></li>' .
'</ul><br>' .
'If the error persists, please <a href="/about">contact the administrator</a>.',
$timetaken
);
}