瀏覽代碼

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;