]> source.dussan.org Git - nextcloud-server.git/commit
fix loading legacy app.php with multi app dir 33277/head
authorArthur Schiwon <blizzz@arthur-schiwon.de>
Mon, 18 Jul 2022 18:19:02 +0000 (20:19 +0200)
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>
Tue, 19 Jul 2022 06:22:19 +0000 (06:22 +0000)
commit1ec1321c26087cac24cfcfbcdbacc867d22aef2c
treed0c25dd08d49250a6eca308140ef78813825f6ec
parent0f2f1a19d4a6d11d654afad7c5ca3de64aed2fe9
fix loading legacy app.php with multi app dir

- requireAppFile() only appends /appinfo/app.php
- without the absolute path, require_once looks into include_path
- the first match in inlcude_path however migth be different from appPath
- fixed by providing the tested(!), full path to the app

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
lib/private/legacy/OC_App.php