mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 05:01:43 +00:00
- fixed GET method (due to new storage of document and folder names)
This commit is contained in:
parent
d4d1c7ead9
commit
de0983ee7d
|
@ -1,7 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
require_once "HTTP/WebDAV/Server.php";
|
require_once "HTTP/WebDAV/Server.php";
|
||||||
require_once "LetoDMS/Core.php";
|
if(!empty($settings->_coreDir))
|
||||||
|
require_once($settings->_coreDir.'/Core.php');
|
||||||
|
else
|
||||||
|
require_once('LetoDMS/Core.php');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* LetoDMS access using WebDAV
|
* LetoDMS access using WebDAV
|
||||||
|
@ -428,7 +431,7 @@ class HTTP_WebDAV_Server_LetoDMS extends HTTP_WebDAV_Server
|
||||||
printf($format,
|
printf($format,
|
||||||
number_format($filesize),
|
number_format($filesize),
|
||||||
strftime("%Y-%m-%d %H:%M:%S", $mtime),
|
strftime("%Y-%m-%d %H:%M:%S", $mtime),
|
||||||
"<a href='".$_SERVER['SCRIPT_NAME'].$fullpath."'>$name</a>");
|
"<a href=\"".$_SERVER['SCRIPT_NAME'].htmlspecialchars($fullpath)."\">".htmlspecialchars($name, ENT_QUOTES)."</a>");
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "</pre>";
|
echo "</pre>";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user