tweaks
This commit is contained in:
@@ -33,7 +33,7 @@ if [ ! -d "${webroot}/.git" ]; then
|
|||||||
# Pull down code from git for our site!
|
# Pull down code from git for our site!
|
||||||
if [ ! -z "$GIT_REPO" ]; then
|
if [ ! -z "$GIT_REPO" ]; then
|
||||||
# Remove the test index file
|
# Remove the test index file
|
||||||
rm -Rf /var/www/html/index.php
|
rm -Rf $webroot/index.php
|
||||||
if [ ! -z "$GIT_BRANCH" ]; then
|
if [ ! -z "$GIT_BRANCH" ]; then
|
||||||
git clone -b $GIT_BRANCH $GIT_REPO $webroot
|
git clone -b $GIT_BRANCH $GIT_REPO $webroot
|
||||||
else
|
else
|
||||||
@@ -44,9 +44,9 @@ fi
|
|||||||
|
|
||||||
# Display PHP error's or not
|
# Display PHP error's or not
|
||||||
if [[ "$ERRORS" != "1" ]] ; then
|
if [[ "$ERRORS" != "1" ]] ; then
|
||||||
echo php_flag[display_errors] = off >> $fpm_conf
|
echo php_flag[display_errors] = off >> /etc/php5/php-fpm.conf
|
||||||
else
|
else
|
||||||
echo php_flag[display_errors] = on >> $fpm_conf
|
echo php_flag[display_errors] = on >> /etc/php5/php-fpm.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Display Version Details or not
|
# Display Version Details or not
|
||||||
|
|||||||
Reference in New Issue
Block a user