Previous implementation assumes the app path is always a child \OC::$SERVERROOT. That's not always true. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>