From 72a16b17792e2a5353cc0ffce8fc24ed4ff1351c Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Wed, 22 Jan 2020 21:13:36 +0100 Subject: Make it possible to resolve svg for apps_paths outside the document root Previous implementation assumes the app path is always a child \OC::$SERVERROOT. That's not always true. Signed-off-by: Daniel Kesselberg --- tests/data/svg/files-app-red.svg | 1 + tests/data/svg/settings-admin-red.svg | 1 + 2 files changed, 2 insertions(+) create mode 100644 tests/data/svg/files-app-red.svg create mode 100644 tests/data/svg/settings-admin-red.svg (limited to 'tests/data') diff --git a/tests/data/svg/files-app-red.svg b/tests/data/svg/files-app-red.svg new file mode 100644 index 00000000000..81d7fca1472 --- /dev/null +++ b/tests/data/svg/files-app-red.svg @@ -0,0 +1 @@ + diff --git a/tests/data/svg/settings-admin-red.svg b/tests/data/svg/settings-admin-red.svg new file mode 100644 index 00000000000..54d7d3a9b15 --- /dev/null +++ b/tests/data/svg/settings-admin-red.svg @@ -0,0 +1 @@ + -- cgit v1.2.3