redirect index.php to files/webdav.php for webdav (PROPFIND) requests
This commit is contained in:
parent
60a7a9d6f0
commit
01cecc8388
|
@ -40,6 +40,11 @@ elseif($not_installed OR $install_called) {
|
|||
require_once('setup.php');
|
||||
}
|
||||
|
||||
if($_SERVER['REQUEST_METHOD']=='PROPFIND'){//handle webdav
|
||||
header('location: '.OC_Helper::linkTo('files','webdav.php'));
|
||||
exit();
|
||||
}
|
||||
|
||||
// Someone is logged in :
|
||||
elseif(OC_User::isLoggedIn()) {
|
||||
if(isset($_GET["logout"]) and ($_GET["logout"])) {
|
||||
|
|
Loading…
Reference in New Issue