mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
apps: add YNH_DEFAULT_PHP_VERSION in app's dict as a boring workaround/fix for apps using YNH_DEFAULT_PHP_VERSION in _common.sh *before* sourcing helpers ...
This commit is contained in:
parent
ced6d5c975
commit
8a865daddd
1 changed files with 1 additions and 0 deletions
|
@ -2792,6 +2792,7 @@ def _make_environment_for_app_script(
|
||||||
app_id, app_instance_nb = _parse_app_instance_name(app)
|
app_id, app_instance_nb = _parse_app_instance_name(app)
|
||||||
|
|
||||||
env_dict = {
|
env_dict = {
|
||||||
|
"YNH_DEFAULT_PHP_VERSION": "8.2",
|
||||||
"YNH_APP_ID": app_id,
|
"YNH_APP_ID": app_id,
|
||||||
"YNH_APP_INSTANCE_NAME": app,
|
"YNH_APP_INSTANCE_NAME": app,
|
||||||
"YNH_APP_INSTANCE_NUMBER": str(app_instance_nb),
|
"YNH_APP_INSTANCE_NUMBER": str(app_instance_nb),
|
||||||
|
|
Loading…
Add table
Reference in a new issue