Browse Source

Type plain/text pour les fourbes

Julien Vaubourg 12 years ago
parent
commit
15834586c0
2 changed files with 5 additions and 0 deletions
  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
                 allow from all
         </Directory>
         </Directory>
 
 
+	<Files ~ ".*">
+		ForceType text/plain
+	</Files>
+
         LogLevel warn
         LogLevel warn
         ErrorLog ${APACHE_LOG_DIR}/fdn/error-fdn.log
         ErrorLog ${APACHE_LOG_DIR}/fdn/error-fdn.log
         CustomLog ${APACHE_LOG_DIR}/fdn/access-fdn.log combined
         CustomLog ${APACHE_LOG_DIR}/fdn/access-fdn.log combined

+ 1 - 0
fdnTopicAddBot/fdn-accbot.pl

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