Commit b57cb73
committed
Fix phpMyAdmin Service tab + PHP version save, and DDNS Manager Uninstall
phpMyAdmin has no systemd service of its own (served via existing
nginx+PHP-FPM), so the 'Service' tab always showed 'unknown' and
Start/Restart did nothing (control_module returns 'No service defined'
when mod.service is unset). Removed the Service tab for phpMyAdmin and
made PHP Version the default tab.
phpMyAdmin's PHP-version dropdown checked /usr/bin/php{v} (CLI binary),
but only php{v}-fpm may be installed for non-default versions - leaving
the dropdown empty, currentPhp='', and Save always failing with 'Config
not found or PHP version missing'. Fixed to check
/run/php/php{v}-fpm.sock instead, matching Roundcube's (correct)
detection.
DDNS Manager's App Store entry has check:'echo found' (always
'installed', by design - it's a built-in core feature, not a package).
But this meant the Uninstall button was always shown, and clicking it
ran 'apt-get remove ddclient' (unrelated to the actual DDNS feature,
which is pure VortexPanel code) then the check still said 'found' -
appearing as if uninstall silently failed. Added a 'builtin' flag,
threaded through /api/modules, and hidden the Uninstall button for
built-in modules in favor of a 'Built-in' badge.1 parent 2327e48 commit b57cb73
3 files changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
434 | 434 | | |
435 | 435 | | |
436 | 436 | | |
| 437 | + | |
437 | 438 | | |
438 | 439 | | |
439 | 440 | | |
| |||
758 | 759 | | |
759 | 760 | | |
760 | 761 | | |
| 762 | + | |
761 | 763 | | |
762 | 764 | | |
763 | 765 | | |
| |||
1317 | 1319 | | |
1318 | 1320 | | |
1319 | 1321 | | |
1320 | | - | |
| 1322 | + | |
1321 | 1323 | | |
1322 | 1324 | | |
1323 | 1325 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1650 | 1650 | | |
1651 | 1651 | | |
1652 | 1652 | | |
1653 | | - | |
| 1653 | + | |
1654 | 1654 | | |
1655 | 1655 | | |
1656 | 1656 | | |
| |||
1786 | 1786 | | |
1787 | 1787 | | |
1788 | 1788 | | |
1789 | | - | |
| 1789 | + | |
1790 | 1790 | | |
1791 | 1791 | | |
1792 | 1792 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1452 | 1452 | | |
1453 | 1453 | | |
1454 | 1454 | | |
1455 | | - | |
| 1455 | + | |
| 1456 | + | |
1456 | 1457 | | |
1457 | 1458 | | |
1458 | 1459 | | |
| |||
0 commit comments