1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-19 08:52:22 +01:00

Contacts: Debug Sabre exceptions if DEBUG is set

This commit is contained in:
Thomas Tanghus 2013-04-12 11:43:56 +02:00
parent 917a40e4df
commit 9b063b4e20

View File

@ -64,5 +64,8 @@ $server->addPlugin(new Sabre_DAVACL_Plugin());
$server->addPlugin(new Sabre_DAV_Browser_Plugin(false)); // Show something in the Browser, but no upload
$server->addPlugin(new Sabre_CardDAV_VCFExportPlugin());
if(defined('DEBUG') && DEBUG) {
$server->debugExceptions = true;
}
// And off we go!
$server->exec();