<?php

abstract class XenDebug_Listen
{

	protected static $_checked = false;

	public static function load_class_model($class, array &$extend)
	{
		if (self::$_checked)
		{
			return;
		}

		self::$_checked = true;

		if ( ! XenForo_Application::debugMode() OR strpos($_SERVER['REQUEST_URI'],'admindav'))
		{
			return;
		}

	 	XenDebug_Log::getInstance();
	}	

}

<?php

abstract class XenDebug_Listen
{

	protected static $_checked = false;

	public static function load_class_model($class, array &$extend)
	{
		if (self::$_checked)
		{
			return;
		}

		self::$_checked = true;

		if ( ! XenForo_Application::debugMode())
		{
			return;
		}

	 	XenDebug_Log::getInstance();
	}	

}
--- 
+++ 
@@ -14,7 +14,7 @@
 
 		self::$_checked = true;
 
-		if ( ! XenForo_Application::debugMode())
+		if ( ! XenForo_Application::debugMode() OR strpos($_SERVER['REQUEST_URI'],'admindav'))
 		{
 			return;
 		}
Disable XenDebug in webdav mode
