[Affelio-cvs 924] CVS update: affelio/lib

Back to archive index

Tadashi Okoshi slash****@users*****
2005年 12月 19日 (月) 12:10:29 JST


Index: affelio/lib/Affelio.pm
diff -u affelio/lib/Affelio.pm:1.34 affelio/lib/Affelio.pm:1.35
--- affelio/lib/Affelio.pm:1.34	Sat Dec 17 12:02:06 2005
+++ affelio/lib/Affelio.pm	Mon Dec 19 12:10:29 2005
@@ -14,7 +14,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #
-# $Id: Affelio.pm,v 1.34 2005/12/17 03:02:06 slash5234 Exp $
+# $Id: Affelio.pm,v 1.35 2005/12/19 03:10:29 slash5234 Exp $
 
 package Affelio;
 {
@@ -687,7 +687,13 @@
 
 	my $rootproperty = $Config->{_}->{rootproperty};
 	$self->{site__fs_root} = $Config->{site_config}->{fs_root};
+	if($self->{site__fs_root} =~ /(.*)\/$/){
+	    $self->{site__fs_root} = $1;
+	}
 	$self->{site__web_root} = $Config->{site_config}->{web_root};
+	if($self->{site__web_root} =~ /(.*)\/$/){
+	    $self->{site__web_root} = $1;
+	}
 
 	#Oh well, this config parameter has been "char_set" for a while..
 	#For now, locale = char_set 


Affelio-cvs メーリングリストの案内
Back to archive index