From fd2443bf6b0e319bb147bbd0c480e8e6d9cd17f6 Mon Sep 17 00:00:00 2001 From: pixel Date: Sat, 2 Jun 2007 11:29:30 +0000 Subject: Moving favicon.ico to the data directory. --- lib/HttpServ.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/HttpServ.cc b/lib/HttpServ.cc index a80f9aa..6e369fa 100644 --- a/lib/HttpServ.cc +++ b/lib/HttpServ.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: HttpServ.cc,v 1.47 2007-05-30 11:57:09 pixel Exp $ */ +/* $Id: HttpServ.cc,v 1.48 2007-06-02 11:29:30 pixel Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -168,6 +168,10 @@ int ProcessRequest::Do() throw(GeneralException) { } std::cerr << " Domain = '" << domain << "' - File = '" << file << "'\n"; + + if (file == "favicon.ico") { + domain = "/image"; + } if (!bad) { // Nous vérifions le domaine. -- cgit v1.2.3