summaryrefslogtreecommitdiffstats
path: root/cgi-bin
diff options
context:
space:
mode:
Diffstat (limited to 'cgi-bin')
-rw-r--r--cgi-bin/find.cgi5
1 files changed, 3 insertions, 2 deletions
diff --git a/cgi-bin/find.cgi b/cgi-bin/find.cgi
index bad12e7..ff243c8 100644
--- a/cgi-bin/find.cgi
+++ b/cgi-bin/find.cgi
@@ -26,7 +26,7 @@ my $search_text = $params{'q'} || '';
$search_text = substr($search_text, 0, 64);
$search_text =~ s/[^a-zA-Z0-9 ]//g;
-my $directory = '../log/';
+my $directory = '../_site/log/';
my @results;
my %excluded_files = (
@@ -97,6 +97,7 @@ if ($search_text eq '') {
}
my $safe_search_text = escape_html($search_text);
+my $year = (localtime)[5] + 1900;
print <<"HTML";
<!DOCTYPE html>
@@ -132,7 +133,7 @@ print <<"HTML";
<div class="footer">
<div class="container">
<div class="twelve columns right container-2">
- <p id="footer-text">&copy; ASCIIMX - 2025</p>
+ <p id="footer-text">&copy; ASCIIMX - $year</p>
</div>
</div>
</div>