mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -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
4f8e18d4a6
commit
7af9f2741f
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue