aboutsummaryrefslogtreecommitdiffstats
path: root/community/nextcloud/nextcloud-1202-fix-6028.patch
blob: bc7f64f79627e55fb1207845bd7604b379e7081f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/lib/private/Template/CSSResourceLocator.php
+++ b/lib/private/Template/CSSResourceLocator.php
@@ -117,7 +117,7 @@
 			parent::append($root, $file, $webRoot, $throw);
 		} else {
 			if (!$webRoot) {
-				$tmpRoot = realpath($root);
+				$tmpRoot = $root;
 				/*
 				 * traverse the potential web roots upwards in the path
 				 *
--- a/lib/private/Template/ResourceLocator.php
+++ b/lib/private/Template/ResourceLocator.php
@@ -125,7 +125,7 @@
 		}
 
 		if (!$webRoot) {
-			$tmpRoot = realpath($root);
+			$tmpRoot = $root;
 			/*
 			 * traverse the potential web roots upwards in the path
 			 *