mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-03-04 19:30:45 +01:00
Merge pull request #1208 from stefanpejcic/patch-1
Check for existing OpenPanel instance on CyberPanel install
This commit is contained in:
@@ -349,6 +349,10 @@ elif [[ -d /etc/httpd/conf/plesk.conf.d/ ]] || [[ -d /etc/apache2/plesk.conf.d/
|
||||
echo -e "\nPlesk detected...\n"
|
||||
Debug_Log2 "Plesk detected...exit... [404]"
|
||||
exit
|
||||
elif [[ -d /usr/local/panel/ ]]; then
|
||||
echo -e "\nOpenPanel detected...\n"
|
||||
Debug_Log2 "OpenPanel detected...exit... [404]"
|
||||
exit
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user