Files
MokoSuiteBackup/source/packages/plg_task_mokosuitebackup/forms/run_profile.xml
T
Jonathan Miller ace33b60fe
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Repo Health / Access control (push) Successful in 2s
Universal: Auto Version Bump / Version Bump (push) Successful in 10s
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Generic: Repo Health / Report Issues (push) Has been cancelled
feat: rename mokojoombackup → mokosuitebackup, add [HOME] placeholder for backup directory
Renames all sub-extensions from mokojoombackup to mokosuitebackup
(package, component, 7 plugins, language files, manifests).

Adds [HOME] placeholder to BackupDirectory and PlaceholderResolver
so users can set backup_dir to [HOME]/backups (outside web root).
Fixes folder browser "access denied" on PHP-FPM shared hosting
where getenv('HOME') returns empty by adding POSIX and JPATH_ROOT
fallback detection.
2026-06-11 12:24:27 -05:00

22 lines
660 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
* Task form: select which backup profile to run.
* This form appears in System > Scheduled Tasks when creating a
* "MokoSuiteBackup: Run Backup Profile" task.
-->
<form>
<fieldset name="run_profile">
<field
name="profile_id"
type="sql"
label="PLG_TASK_MOKOJOOMBACKUP_FIELD_PROFILE"
description="PLG_TASK_MOKOJOOMBACKUP_FIELD_PROFILE_DESC"
query="SELECT id AS value, title AS text FROM #__mokosuitebackup_profiles WHERE published = 1 ORDER BY ordering ASC"
default="1"
required="true"
>
<option value="">PLG_TASK_MOKOJOOMBACKUP_SELECT_PROFILE</option>
</field>
</fieldset>
</form>