File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
image/service/phpldapadmin Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ if [ ! -e "$FIRST_START_DONE" ]; then
9595 for host in " ${PHPLDAPADMIN_LDAP_HOSTS[@]} "
9696 do
9797
98- # host var contain a variable name, we access to the variable value and cast it to a table
98+ # host var contain a variable name, we access to the variable value and cast it to a table
9999 infos=(${! host} )
100100
101101 echo " \$ servers->newServer('ldap_pla');" >> /var/www/phpldapadmin/config/config.php
@@ -140,7 +140,7 @@ if [ ! -e "$FIRST_START_DONE" ]; then
140140
141141 fi
142142
143- # Fix file permission
143+ # fix file permission
144144 find /var/www/ -type d -exec chmod 755 {} \;
145145 find /var/www/ -type f -exec chmod 644 {} \;
146146 chmod 400 /var/www/phpldapadmin/config/config.php
Original file line number Diff line number Diff line change 11#! /bin/bash -e
22# this script is run during the image build
33
4- # Add phpLDAPadmin virtualhosts
4+ # add phpLDAPadmin virtualhosts
55ln -s /container/service/phpldapadmin/assets/apache2/phpldapadmin.conf /etc/apache2/sites-available/phpldapadmin.conf
66ln -s /container/service/phpldapadmin/assets/apache2/phpldapadmin-ssl.conf /etc/apache2/sites-available/phpldapadmin-ssl.conf
77
@@ -14,11 +14,11 @@ rm /container/service/phpldapadmin/assets/php5-fpm/pool.conf
1414mkdir -p /var/www/tmp
1515chown www-data:www-data /var/www/tmp
1616
17- # Remove apache default host
17+ # remove apache default host
1818a2dissite 000-default
1919rm -rf /var/www/html
2020
21- # Delete unnecessary files
21+ # delete unnecessary files
2222rm -rf /var/www/phpldapadmin_bootstrap/doc
2323
2424# apply php5.5 patch
You can’t perform that action at this time.
0 commit comments