]> source.dussan.org Git - nextcloud-server.git/commit
fix loading legacy app.php with multi app dir 33270/head
authorArthur Schiwon <blizzz@arthur-schiwon.de>
Mon, 18 Jul 2022 18:19:02 +0000 (20:19 +0200)
committerArthur Schiwon <blizzz@arthur-schiwon.de>
Mon, 18 Jul 2022 18:19:02 +0000 (20:19 +0200)
commit0f2e75a6ce4c9b737c35d20a7ae7237258a60d13
treee47ea937f746a900f8a7cc6a1d1c5a4fd56ca316
parent42bcbe269f09bac30251ac102f202fc0091602c9
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