Merge pull request #13 from rodolfovillaruz/master
Hide errors on empty config folder
This commit is contained in:
commit
e107a87749
@ -74,7 +74,7 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
|
|||||||
\$config['log_driver'] = 'stdout';
|
\$config['log_driver'] = 'stdout';
|
||||||
" > config/config.inc.php
|
" > config/config.inc.php
|
||||||
|
|
||||||
for fn in `ls /var/roundcube/config/*.php`; do
|
for fn in `ls /var/roundcube/config/*.php 2>/dev/null || true`; do
|
||||||
echo "include('$fn');" >> config/config.inc.php
|
echo "include('$fn');" >> config/config.inc.php
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -74,7 +74,7 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
|
|||||||
\$config['log_driver'] = 'stdout';
|
\$config['log_driver'] = 'stdout';
|
||||||
" > config/config.inc.php
|
" > config/config.inc.php
|
||||||
|
|
||||||
for fn in `ls /var/roundcube/config/*.php`; do
|
for fn in `ls /var/roundcube/config/*.php 2>/dev/null || true`; do
|
||||||
echo "include('$fn');" >> config/config.inc.php
|
echo "include('$fn');" >> config/config.inc.php
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user