Ignore:
Timestamp:
2013-10-31T11:29:37+13:00 (10 years ago)
Author:
kjdon
Message:

changing some util:: methods to FileUtils:: methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/HTMLImagePlugin.pm

    r24600 r28563  
    365365    if ( $self->{'aggressiveness'} >=5 && $self->{'aggressiveness'} != 9 ) {
    366366    $self->{'stopwords'} = ();
    367     $filepath = &util::filename_cat($ENV{'GSDLHOME'}, "etc", "packages", "phind", "stopword", "en", "brown.sw");
     367    $filepath = &FileUtils::filenameConcatenate($ENV{'GSDLHOME'}, "etc", "packages", "phind", "stopword", "en", "brown.sw");
    368368    if ( open STOPWORDS, "<$filepath" ) {
    369369        while ( <STOPWORDS> ) {
     
    407407    $base_dir =~ /(.*)\/.*/;
    408408    $tndir = "$1/archives/thumbnails"; # TODO: this path shouldn't be hardcoded?
    409     &util::mk_all_dir($tndir) unless -e "$tndir";
     409    &FileUtils::makeAllDirectories($tndir) unless -e "$tndir";
    410410
    411411    $imgs = \%{$self->{'imglist'}};
Note: See TracChangeset for help on using the changeset viewer.