Changeset 3148
- Timestamp:
- 2002-06-17T10:28:16+12:00 (21 years ago)
- Location:
- trunk/gsdl/perllib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/mgbuildproc.pm
r2505 r3148 239 239 240 240 foreach my $assoc_file (@{$doc_obj->get_assoc_files()}) { 241 # if assoc file contains directory structure of242 # its own use it, otherwise use HASH... directory243 if ($assoc_file->[1] =~ /[\/\\]/) {244 $afile = &util::filename_cat($self->{'assocdir'}, 241 # if assoc file starts with a slash, we put it relative to the assoc 242 # dir, otherwise it is relative to the HASH... directory 243 if ($assoc_file->[1] =~ m@^[/\\]@) { 244 $afile = &util::filename_cat($self->{'assocdir'},$assoc_file->[1]); 245 245 } else { 246 246 $afile = &util::filename_cat($self->{'assocdir'}, $archivedir, $assoc_file->[1]); -
trunk/gsdl/perllib/mgppbuildproc.pm
r2771 r3148 272 272 273 273 foreach my $assoc_file (@{$doc_obj->get_assoc_files()}) { 274 # if assoc file contains directory structure of275 # its own use it, otherwise use HASH... directory276 if ($assoc_file->[1] =~ /[\/\\]/) {277 $afile = &util::filename_cat($self->{'assocdir'}, 274 # if assoc file starts with a slash, we put it relative to the assoc 275 # dir, otherwise it is relative to the HASH... directory 276 if ($assoc_file->[1] =~ m@^[/\\]@) { 277 $afile = &util::filename_cat($self->{'assocdir'},$assoc_file->[1]); 278 278 } else { 279 279 $afile = &util::filename_cat($self->{'assocdir'}, $archivedir, $assoc_file->[1]); -
trunk/gsdl/perllib/plugins/HTMLPlug.pm
r3135 r3148 149 149 $file =~ s@(\\)+@/@g; 150 150 } 151 152 # reset per-doc stuff... 153 $self->{'aux_files'} = {}; 154 $self->{'dir_num'} = 0; 155 $self->{'file_num'} = 0; 156 151 157 my $cursection = $doc_obj->get_top_section(); 152 158 … … 372 378 } 373 379 $doc_obj->associate_file($filename, $newname, undef, $section); 374 return "_http collimg_/$newname";380 return "_httpdocimg_/$newname"; 375 381 376 382 } else {
Note:
See TracChangeset
for help on using the changeset viewer.