Index: branches/1.0/admin/config.php.example
===================================================================
--- branches/1.0/admin/config.php.example	(revision 71)
+++ branches/1.0/admin/config.php.example	(revision 161)
@@ -10,5 +10,11 @@
 function ob_filter_path_nicer($o)
 {
-	$o = str_replace("/home/", "{H}/", $o);
+	$sep = DIRECTORY_SEPARATOR;
+	$o = str_replace($_SERVER['DOCUMENT_ROOT'],  "{DOCROOT}$sep", $o);
+	$xcachedir = realpath(dirname(__FILE__) . "$sep..$sep");
+	$o = str_replace($xcachedir . $sep, "{XCache}$sep", $o);
+	if ($sep == '/') {
+		$o = str_replace("/home/", "{H}/", $o);
+	}
 	return $o;
 }
