nextcloud/apps/theming/tests/Controller
Kyle Fazzari 401a2692e8
theming: handle not being in the serverroot
Currently, the theming app assumes it's in the serverroot. However, with
Nextcloud's flexibility regarding configurable app paths, this is not a
safe assumption to make. If it happens to be an incorrect assumption,
the theming app fails to work.

Instead of relying on the serverroot, just use the path from the
AppManager and utilize relative paths for assets from there.

Fix #8462

Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
2018-02-26 10:14:57 -08:00
..
IconControllerTest.php Inject FileAccessHelper for proper testing 2017-05-18 10:45:42 +02:00
ThemingControllerTest.php theming: handle not being in the serverroot 2018-02-26 10:14:57 -08:00