mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-29 18:59:04 +01:00
- Only check /usr/local/CyberCP/ for installed status, not /home/cyberpanel/plugins/ - Require both plugin directory AND meta.xml to exist for installed status - Plugins in source directory are not considered installed - Fixes issue where Discord Webhooks, Fail2ban, Premium Plugin Example, and Test Plugin showed as installed when they weren't Previously, the check used: os.path.exists(installed_path) or os.path.exists(source_path) This incorrectly marked plugins as installed if they existed in the source directory. Now uses: os.path.exists(installed_path) and os.path.exists(installed_meta) This correctly only marks plugins as installed if they're actually in /usr/local/CyberCP/ with meta.xml