Skip to content

Conversation

@blizzz
Copy link
Member

@blizzz blizzz commented Jul 18, 2022

Scenarion: two app dirs are configured in config.php, and in both dirs is a copy of a file, with different versions. The business logic should only load from the location with the highest version.

The issue in a screenshot:

Screenshot_20220718_200729

  • 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

contributes to fixing #8929

- 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 <[email protected]>
Copy link
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm but did not test

@juliusknorr juliusknorr added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Jul 18, 2022
@blizzz
Copy link
Member Author

blizzz commented Jul 18, 2022

/backport to stable24

@blizzz
Copy link
Member Author

blizzz commented Jul 18, 2022

/backport to stable23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish bug feature: apps management

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants