Skip to content

Commit 3d80112

Browse files
committed
-
1 parent 010e118 commit 3d80112

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

image/service/phpldapadmin/container-start.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

image/service/phpldapadmin/install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash -e
22
# this script is run during the image build
33

4-
# Add phpLDAPadmin virtualhosts
4+
# add phpLDAPadmin virtualhosts
55
ln -s /container/service/phpldapadmin/assets/apache2/phpldapadmin.conf /etc/apache2/sites-available/phpldapadmin.conf
66
ln -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
1414
mkdir -p /var/www/tmp
1515
chown www-data:www-data /var/www/tmp
1616

17-
# Remove apache default host
17+
# remove apache default host
1818
a2dissite 000-default
1919
rm -rf /var/www/html
2020

21-
# Delete unnecessary files
21+
# delete unnecessary files
2222
rm -rf /var/www/phpldapadmin_bootstrap/doc
2323

2424
# apply php5.5 patch

0 commit comments

Comments
 (0)