From 3f3629cdf0838f8ee48af115918101de21c4d99c Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Mon, 31 Jul 2006 21:11:59 +0200 Subject: [PATCH] Move externally served files into their own directory. --- close.png => files/close.png | Bin faq.html => files/faq.html | 0 newevent.html => files/newevent.html | 0 next.png => files/next.png | Bin pr0n-fullscreen.css => files/pr0n-fullscreen.css | 0 pr0n-fullscreen.js => files/pr0n-fullscreen.js | 0 pr0n.css => files/pr0n.css | 0 previous.png => files/previous.png | Bin robots.txt => files/robots.txt | 0 skoyen.css => files/skoyen.css | 0 perl/Sesse/pr0n/pr0n.pm | 2 +- 11 files changed, 1 insertion(+), 1 deletion(-) rename close.png => files/close.png (100%) rename faq.html => files/faq.html (100%) rename newevent.html => files/newevent.html (100%) rename next.png => files/next.png (100%) rename pr0n-fullscreen.css => files/pr0n-fullscreen.css (100%) rename pr0n-fullscreen.js => files/pr0n-fullscreen.js (100%) rename pr0n.css => files/pr0n.css (100%) rename previous.png => files/previous.png (100%) rename robots.txt => files/robots.txt (100%) rename skoyen.css => files/skoyen.css (100%) diff --git a/close.png b/files/close.png similarity index 100% rename from close.png rename to files/close.png diff --git a/faq.html b/files/faq.html similarity index 100% rename from faq.html rename to files/faq.html diff --git a/newevent.html b/files/newevent.html similarity index 100% rename from newevent.html rename to files/newevent.html diff --git a/next.png b/files/next.png similarity index 100% rename from next.png rename to files/next.png diff --git a/pr0n-fullscreen.css b/files/pr0n-fullscreen.css similarity index 100% rename from pr0n-fullscreen.css rename to files/pr0n-fullscreen.css diff --git a/pr0n-fullscreen.js b/files/pr0n-fullscreen.js similarity index 100% rename from pr0n-fullscreen.js rename to files/pr0n-fullscreen.js diff --git a/pr0n.css b/files/pr0n.css similarity index 100% rename from pr0n.css rename to files/pr0n.css diff --git a/previous.png b/files/previous.png similarity index 100% rename from previous.png rename to files/previous.png diff --git a/robots.txt b/files/robots.txt similarity index 100% rename from robots.txt rename to files/robots.txt diff --git a/skoyen.css b/files/skoyen.css similarity index 100% rename from skoyen.css rename to files/skoyen.css diff --git a/perl/Sesse/pr0n/pr0n.pm b/perl/Sesse/pr0n/pr0n.pm index 1471074..c628541 100644 --- a/perl/Sesse/pr0n/pr0n.pm +++ b/perl/Sesse/pr0n/pr0n.pm @@ -30,7 +30,7 @@ sub handler { $uri =~ m#^/usage/([a-zA-Z0-9_.]+)$#) { $uri =~ s#^/##; $r->content_type(Sesse::pr0n::Common::get_mimetype_from_filename($uri)); - $r->sendfile(Sesse::pr0n::Common::get_base($r) . $uri); + $r->sendfile(Sesse::pr0n::Common::get_base($r) . 'files/' . $uri); return Apache2::Const::OK; } elsif ($uri eq '/newevent.html') { $r->content_type('text/html; charset=utf-8'); -- 2.39.2