diff options
author | pixel <pixel> | 2007-06-02 11:29:30 +0000 |
---|---|---|
committer | pixel <pixel> | 2007-06-02 11:29:30 +0000 |
commit | fd2443bf6b0e319bb147bbd0c480e8e6d9cd17f6 (patch) | |
tree | 32229b9a89df3bd0a657ce2fafe40930334ccd29 /lib | |
parent | d8a872d6a263ad4bd33decf59ffcc7af7dda1d76 (diff) |
Moving favicon.ico to the data directory.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/HttpServ.cc | 6 |
1 files changed, 5 insertions, 1 deletions
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. |