summaryrefslogtreecommitdiffstats
path: root/Services/apache/sx-httpd.sh
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2015-12-05 02:06:41 +0100
committerstartxfr <clarue@startx.fr>2015-12-05 02:06:41 +0100
commitcfd0715d0543a3554b8a94b079d35b2022b2fe4c (patch)
treee81d43156fb8d2180849833062c0cf3632db28e1 /Services/apache/sx-httpd.sh
parent65cce5013dad6a77e2f66bde26df45d4432e6e2c (diff)
downloadphpmyadmin-cfd0715d0543a3554b8a94b079d35b2022b2fe4c.tar.gz
phpmyadmin-cfd0715d0543a3554b8a94b079d35b2022b2fe4c.tar.bz2
phpmyadmin-cfd0715d0543a3554b8a94b079d35b2022b2fe4c.tar.xz
phpmyadmin-cfd0715d0543a3554b8a94b079d35b2022b2fe4c.zip
improving general README.md
Diffstat (limited to 'Services/apache/sx-httpd.sh')
-rw-r--r--Services/apache/sx-httpd.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/Services/apache/sx-httpd.sh b/Services/apache/sx-httpd.sh
index 57a6e32..ec8c6bb 100644
--- a/Services/apache/sx-httpd.sh
+++ b/Services/apache/sx-httpd.sh
@@ -8,13 +8,11 @@ function check_httpd_environment {
echo "! WARNING : environment var SERVER_NAME is missing..."
echo "! WARNING : auto-assigned value : $SERVER_NAME"
fi
- if [ ! -v DOC_ROOT ]; then
- DOC_ROOT="/data/apache"
- export DOC_ROOT
- fi
if [ ! -v APP_PATH ]; then
APP_PATH="/data/apache"
export APP_PATH
+ DOC_ROOT=$APP_PATH
+ export DOC_ROOT
fi
if [ ! -v LOG_PATH ]; then
LOG_PATH="/data/logs/apache"