Changeset 23999 for lang

Show
Ignore:
Timestamp:
11/18/08 00:54:57 (5 years ago)
Author:
kazuho
Message:

only create data_dir/.htaccess if not exist

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/NanoA/trunk/lib/NanoA/Config.pm

    r23997 r23999  
    5656        ; 
    5757    } 
    58     if ($use_htaccess) { 
     58    if ($use_htaccess && ! -e "$d/.htaccess") { 
    5959        open my $fh, '>', "$d/.htaccess" 
    6060            or die "$d/.htaccess を作成できません:$!";