소스 검색

Small fix to tassium code, if you chomp something it can never match
"\n" after that. And add standard (c) message, and upgrade the conf.pl
version number.

Thijs Kinkhorst 22 년 전
부모
커밋
df5d7ec478
1개의 변경된 파일6개의 추가작업 그리고 4개의 파일을 삭제
  1. 6 4
      config/conf.pl

+ 6 - 4
config/conf.pl

@@ -1,12 +1,14 @@
 #!/usr/bin/env perl
 # conf.pl
-# Luke Ehresman (luke@squirrelmail.org)
 #
-# A simple configure script to configure squirrelmail
+# Copyright (c) 1999-2003 The SquirrelMail Project Team 
+# Licensed under the GNU GPL. For full terms see COPYING.
+#
+# A simple configure script to configure SquirrelMail
 #
 # $Id$
 ############################################################              
-$conf_pl_version = "1.2.0";
+$conf_pl_version = "1.4.0";
 
 ############################################################
 # Check what directory we're supposed to be running in, and
@@ -2126,7 +2128,7 @@ sub command316 {
     print "[$WHT$session_name$NRM]: $WHT";
     $new_session_name = <STDIN>;
 	chomp($new_session_name);
-    if ( $new_session_name eq "\n" ) {
+    if ( $new_session_name eq "" ) {
         $new_session_name = $session_name;
     }
     return $new_session_name;