IntroductionBy default SabreDAV will throw an error if a user tries to attempt the server with a browser. SabreDAV comes with a simple plugin that produces apache-like indexes for your virtual file system. Since version: 0.7 Example:
// We assume $server is a Sabre_DAV_Server
$plugin = new Sabre_DAV_Browser_Plugin();
$server->addPlugin($plugin);
That's it. If you don't like the default style (which is a bit plain), you can extend the class and override the html generating methods.
|