aboutsummaryrefslogtreecommitdiffstats
path: root/about.php
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2025-08-11 01:55:15 +0000
committerlolcat <will@lolcat.ca>2025-08-11 01:55:15 +0000
commitcdf958d29333d448f4521f4d2faa2592b58e9b27 (patch)
tree528f2a0ffa789a6f4279d9f54a4a2aaf391f390f /about.php
downloadshittyweb-search-cdf958d29333d448f4521f4d2faa2592b58e9b27.tar.gz
shittyweb-search-cdf958d29333d448f4521f4d2faa2592b58e9b27.tar.bz2
shittyweb-search-cdf958d29333d448f4521f4d2faa2592b58e9b27.zip
fix wikipedia crashgrafted
Diffstat (limited to 'about.php')
-rw-r--r--about.php39
1 files changed, 39 insertions, 0 deletions
diff --git a/about.php b/about.php
new file mode 100644
index 0000000..b0bb65c
--- /dev/null
+++ b/about.php
@@ -0,0 +1,39 @@
+<?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
+ ]
+ );