Parcourir la source

Type plain/text pour les fourbes

Julien Vaubourg il y a 12 ans
Parent
commit
15834586c0
2 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 4 0
      fdnTopicAddBot/07-fdn
  2. 1 0
      fdnTopicAddBot/fdn-accbot.pl

+ 4 - 0
fdnTopicAddBot/07-fdn

@@ -17,6 +17,10 @@
                 allow from all
         </Directory>
 
+	<Files ~ ".*">
+		ForceType text/plain
+	</Files>
+
         LogLevel warn
         ErrorLog ${APACHE_LOG_DIR}/fdn/error-fdn.log
         CustomLog ${APACHE_LOG_DIR}/fdn/access-fdn.log combined

+ 1 - 0
fdnTopicAddBot/fdn-accbot.pl

@@ -73,6 +73,7 @@ sub topic {
 				channel => $chan,
 				body => "a bien reporté l'accident sur $url"
 			);
+
 		} elsif($isacc) {
 			$isacc = 0;