diff --git a/lib/system-detect.sh b/lib/system-detect.sh index 51f47ff..310362e 100755 --- a/lib/system-detect.sh +++ b/lib/system-detect.sh @@ -68,8 +68,8 @@ detect_control_panel() { SYS_LOG_DIR="/var/www/vhosts/system" # Source Plesk helpers for advanced functionality - if [ -f "$LIB_DIR/plesk-helpers.sh" ]; then - source "$LIB_DIR/plesk-helpers.sh" + if [ -f "$SCRIPT_DIR/plesk-helpers.sh" ]; then + source "$SCRIPT_DIR/plesk-helpers.sh" fi print_success "Detected Plesk v${SYS_CONTROL_PANEL_VERSION}"