|
Server : Apache System : Linux vps.urbanovitalino.adv.br 3.10.0-1062.12.1.el7.x86_64 #1 SMP Tue Feb 4 23:02:59 UTC 2020 x86_64 User : urbanovitalinoad ( 1001) PHP Version : 7.3.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/urbanovitalinoad/public_html/servicedesk/vendor/sabre/dav/examples/ |
Upload File : |
<?php
/**
* This example shows the smallest possible sabre/dav server.
*/
include 'vendor/autoload.php';
$server = new Sabre\DAV\Server([
new Sabre\DAV\FS\Directory(__DIR__),
]);
/*
* Ok. Perhaps not the smallest possible. The browser plugin is 100% optional,
* but it really helps understanding the server.
*/
$server->addPlugin(
new Sabre\DAV\Browser\Plugin()
);
$server->start();