Browse Source

variable change

old-stable
harshadyeola 11 years ago
parent
commit
ce3b92cd3e
  1. 6
      src/modules/site/ee_mod_site_log.sh

6
src/modules/site/ee_mod_site_log.sh

@ -4,11 +4,11 @@ function ee_mod_site_log()
{
# Check if domain name present
if [ $# -eq 0 ]; then
for site in $(ls /etc/nginx/sites-available/*); do
ee_log_path="$ee_log_path /var/log/nginx/$(basename $site).*.log"
for ee_domain_name in $(ls /etc/nginx/sites-available/*); do
ee_log_path="$ee_log_path /var/log/nginx/$(basename $ee_domain_name).*.log"
done
else
for $ee_domain_name in $@; do
for ee_domain_name in $@; do
EE_DOMAIN_CHECK=$ee_domain_name
ee_lib_check_domain

Loading…
Cancel
Save