diff options
author | Ferdinand Thiessen <rpm@fthiessen.de> | 2023-01-10 03:04:58 +0100 |
---|---|---|
committer | Ferdinand Thiessen <rpm@fthiessen.de> | 2023-02-22 21:19:37 +0100 |
commit | a3595f73acb538df0f3df96418d066d6a3ce60b8 (patch) | |
tree | efda194c0ba134529a5022cd1299385ab0daaf2d /apps | |
parent | b642137c652e5262c88dd4ddc055df684c8da8a2 (diff) | |
download | nextcloud-server-a3595f73acb538df0f3df96418d066d6a3ce60b8.tar.gz nextcloud-server-a3595f73acb538df0f3df96418d066d6a3ce60b8.zip |
fix(OC/Template): Allow `.mjs` files within custom app paths
If apps are installed in non standard app paths, we need
to check `$app_path/$script` instead of only doing so for translations.
Without this it would fallback to `.js` extension even if a `.mjs` file exists.
Also tried make the code more selfe explaining.
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
Diffstat (limited to 'apps')
0 files changed, 0 insertions, 0 deletions