summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpixel <pixel>2007-06-02 11:29:30 +0000
committerpixel <pixel>2007-06-02 11:29:30 +0000
commitfd2443bf6b0e319bb147bbd0c480e8e6d9cd17f6 (patch)
tree32229b9a89df3bd0a657ce2fafe40930334ccd29
parentd8a872d6a263ad4bd33decf59ffcc7af7dda1d76 (diff)
Moving favicon.ico to the data directory.
-rw-r--r--lib/HttpServ.cc6
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.