version 1.41, 2017/11/05 18:19:41
|
version 1.42, 2018/05/02 16:59:44
|
Line 135 if ($scope eq '') {
|
Line 135 if ($scope eq '') {
|
unless (-d "$doc_zip_root/zipdir/$unique_user/$unique_path") { |
unless (-d "$doc_zip_root/zipdir/$unique_user/$unique_path") { |
&File::Path::mkpath($doc_zip_root."/zipdir/$unique_user/$unique_path",0,0700); |
&File::Path::mkpath($doc_zip_root."/zipdir/$unique_user/$unique_path",0,0700); |
} |
} |
if (open(MANIFEST, ">$doc_zip_root/zipdir/$unique_user/$unique_path/manifest.txt")) { |
if (open(MANIFEST,'>',"$doc_zip_root/zipdir/$unique_user/$unique_path/manifest.txt")) { |
$manifest = 1; |
$manifest = 1; |
print MANIFEST (&mt("Zip file generated on [_1]",&Apache::lonlocal::locallocaltime(time()))."\n"); |
print MANIFEST (&mt("Zip file generated on [_1]",&Apache::lonlocal::locallocaltime(time()))."\n"); |
print MANIFEST (&mt("Course: [_1]",$env{"course.$courseid.description"})."\n"); |
print MANIFEST (&mt("Course: [_1]",$env{"course.$courseid.description"})."\n"); |