mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
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>
This commit is contained in:
parent
0f2f1a19d4
commit
1ec1321c26
1 changed files with 1 additions and 1 deletions
|
|
@ -183,7 +183,7 @@ class OC_App {
|
|||
]);
|
||||
\OC::$server->getEventLogger()->start('load_app_' . $app, 'Load app: ' . $app);
|
||||
try {
|
||||
self::requireAppFile($app);
|
||||
self::requireAppFile($appPath);
|
||||
} catch (Throwable $ex) {
|
||||
if ($ex instanceof ServerNotAvailableException) {
|
||||
throw $ex;
|
||||
|
|
|
|||
Loading…
Reference in a new issue