Skip to content

Commit 7af9f27

Browse files
blizzzbackportbot-nextcloud[bot]
authored andcommitted
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>
1 parent 4f8e18d commit 7af9f27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/legacy/OC_App.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public static function loadApp(string $app) {
183183
'app' => $app,
184184
]);
185185
try {
186-
self::requireAppFile($app);
186+
self::requireAppFile($appPath);
187187
} catch (Throwable $ex) {
188188
if ($ex instanceof ServerNotAvailableException) {
189189
throw $ex;

0 commit comments

Comments
 (0)