- Timestamp:
- 2013-10-31T11:29:37+13:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugins/HTMLImagePlugin.pm
r24600 r28563 365 365 if ( $self->{'aggressiveness'} >=5 && $self->{'aggressiveness'} != 9 ) { 366 366 $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"); 368 368 if ( open STOPWORDS, "<$filepath" ) { 369 369 while ( <STOPWORDS> ) { … … 407 407 $base_dir =~ /(.*)\/.*/; 408 408 $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"; 410 410 411 411 $imgs = \%{$self->{'imglist'}};
Note:
See TracChangeset
for help on using the changeset viewer.