From: Sven Schöling Date: Thu, 14 Jan 2010 16:28:50 +0000 (+0100) Subject: Webdav Links relativ statt absolut, sonst gibt es Probleme bei anderen Ports. X-Git-Tag: release-2.6.1beta1~66^2~1 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=24c96b5c2c9a85f73b602379aa5ec970748ef7f0;p=kivitendo-erp.git Webdav Links relativ statt absolut, sonst gibt es Probleme bei anderen Ports. --- diff --git a/SL/Common.pm b/SL/Common.pm index 7462d8b93..664bc6a08 100644 --- a/SL/Common.pm +++ b/SL/Common.pm @@ -388,7 +388,7 @@ sub webdav_folder { 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'), }; }