From 46eec24c42d8f5bb330e5c4218e628d43c1dbc72 Mon Sep 17 00:00:00 2001 From: mcramer <m.cramer@pixcept.de> Date: Mon, 14 Jan 2013 09:28:55 -0500 Subject: [PATCH] Fixed: - on new vhost subdomain the php modes were not correctly displayed (nginx) - on vhost subdomains and domains the default php mode stated "fastcgi" even if it was not available --- server/scripts/create_daily_nginx_access_logs.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/server/scripts/create_daily_nginx_access_logs.sh b/server/scripts/create_daily_nginx_access_logs.sh index 862c70f..ce4945f 100644 --- a/server/scripts/create_daily_nginx_access_logs.sh +++ b/server/scripts/create_daily_nginx_access_logs.sh @@ -3,7 +3,7 @@ FILES=/var/log/ispconfig/httpd/* for f in $FILES do - mv $f/access.log $f/`date "+%Y%m%d"`-access.log &> /dev/null + mv $f/access.log $f/`date --date='yesterday' "+%Y%m%d"`-access.log &> /dev/null touch $f/access.log &> /dev/null done pkill -USR1 -u root nginx &> /dev/null \ No newline at end of file -- Gitblit v1.9.1