|
|
@ -476,7 +476,7 @@ PHPUSERINFO() |
|
|
|
|| OwnError "Unable To Findout PHP Username" |
|
|
|
} |
|
|
|
|
|
|
|
SERVERINFO() |
|
|
|
SYSTEMINFO() |
|
|
|
{ |
|
|
|
# Nginx Information |
|
|
|
NGINXVER=$(nginx -v 2>&1 | cut -d':' -f2 | cut -d' ' -f2) |
|
|
@ -1206,6 +1206,16 @@ then |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# Easy Engine Info |
|
|
|
elif [ "$2" = "info" ] |
|
|
|
then |
|
|
|
|
|
|
|
# Get Nginx PHP & MySQL Information |
|
|
|
SYSTEMINFO |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# Easy Engine Config |
|
|
|
elif [ "$2" = "config" ] |
|
|
|
then |
|
|
@ -1274,28 +1284,19 @@ then |
|
|
|
elif [ "$2" = "info" ] |
|
|
|
then |
|
|
|
|
|
|
|
# Server Information |
|
|
|
SERVERINFO |
|
|
|
|
|
|
|
# Check SITENAME Is Empty Or Not |
|
|
|
if [ ! -z "$3" ] |
|
|
|
then |
|
|
|
|
|
|
|
SITENAMECHECK=$3 |
|
|
|
EESITENAME |
|
|
|
SITENAMECHECK=$3 |
|
|
|
EESITENAME |
|
|
|
|
|
|
|
# Check The Website Is Exist |
|
|
|
ls /etc/nginx/sites-available/$DOMAIN &> /dev/null \ |
|
|
|
|| OwnError "The $DOMAIN Is Not Found In Available Websites List" |
|
|
|
|
|
|
|
if [ $? -eq 0 ] |
|
|
|
then |
|
|
|
# Check The Website Enabled |
|
|
|
ls /etc/nginx/sites-enabled/$DOMAIN &> /dev/null \ |
|
|
|
|| OwnError "The $DOMAIN Is Not Enabled" |
|
|
|
|
|
|
|
# Display The Various Information About $DOMAIN |
|
|
|
echo -e "\033[34m Display The Various Information About $DOMAIN \e[0m" |
|
|
|
echo -e "\033[34m Under Developments \e[0m" |
|
|
|
|
|
|
|
fi |
|
|
|
if [ $? -eq 0 ] |
|
|
|
then |
|
|
|
# Display The Various Information About $DOMAIN |
|
|
|
echo -e "\033[34m Display The Various Information About $DOMAIN \e[0m" |
|
|
|
echo -e "\033[34m Under Developments \e[0m" |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|