Revision 24c96b5c
Von Sven Schöling vor etwa 15 Jahren hinzugefügt
SL/Common.pm | ||
---|---|---|
|
||
push @{ $form->{WEBDAV} }, {
|
||
'name' => $fname,
|
||
'link' => ($ENV{"HTTPS"} ? "https://" : "http://") . $ENV{'SERVER_NAME'} . "/$base_path/$file",
|
||
'link' => "/$base_path/$file",
|
||
'type' => $is_directory ? $main::locale->text('Directory') : $main::locale->text('File'),
|
||
};
|
||
}
|
Auch abrufbar als: Unified diff
Webdav Links relativ statt absolut, sonst gibt es Probleme bei anderen Ports.