Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2022-07-18 21:19:02 +0300
committerArthur Schiwon <blizzz@arthur-schiwon.de>2022-07-18 21:19:02 +0300
commit0f2e75a6ce4c9b737c35d20a7ae7237258a60d13 (patch)
treee47ea937f746a900f8a7cc6a1d1c5a4fd56ca316
parent42bcbe269f09bac30251ac102f202fc0091602c9 (diff)
fix loading legacy app.php with multi app dirfix/noid/location-legacy-appfile
- 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>
-rw-r--r--lib/private/legacy/OC_App.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/OC_App.php b/lib/private/legacy/OC_App.php
index f290b7a610c..9fa13a56d38 100644
--- a/lib/private/legacy/OC_App.php
+++ b/lib/private/legacy/OC_App.php
@@ -183,7 +183,7 @@ class OC_App {
'app' => $app,
]);
try {
- self::requireAppFile($app);
+ self::requireAppFile($appPath);
} catch (Throwable $ex) {
if ($ex instanceof ServerNotAvailableException) {
throw $ex;