diff --git a/docker/roundcube/rootfs/opt/app-root/src/enable-xdebug.sh b/docker/roundcube/rootfs/opt/app-root/src/enable-xdebug.sh index 416179cd..ec52a1fe 100755 --- a/docker/roundcube/rootfs/opt/app-root/src/enable-xdebug.sh +++ b/docker/roundcube/rootfs/opt/app-root/src/enable-xdebug.sh @@ -1,24 +1,26 @@ #!/bin/bash dnf -y install php-xdebug cat << EOF > /etc/php.d/xdebug.ini zend_extension=/usr/lib64/php/modules/xdebug.so # Profiler config for xdebug3 -#xdebug.mode=profile -#xdebug.output_dir="/tmp/" -#xdebug.start_with_request=trigger - -# Profiler config for xdebug2 -#xdebug.remote_log="/tmp/xdebug.log" -xdebug.profiler_enable = 0 -# Enable using a XDEBUG_PROFILE GET/POST parameter -xdebug.profiler_enable_trigger = 1 -xdebug.profiler_output_dir = "/tmp/" -#xdebug.remote_enable=on -#xdebug.remote_port=9000 -#xdebug.remote_autostart=0 -#xdebug.remote_connect_back=on -#xdebug.idekey=editor-xdebug +xdebug.mode=profile +xdebug.output_dir="/tmp/" +xdebug.start_with_request=trigger + +EOF + +cat << EOF > /etc/php-fpm.d/xdebug.ini +zend_extension=/usr/lib64/php/modules/xdebug.so + +# Profiler config for xdebug3 +xdebug.mode=profile +xdebug.output_dir="/tmp/" +xdebug.start_with_request=trigger + EOF + +killall php-fpm +/usr/sbin/php-fpm diff --git a/docker/roundcube/rootfs/opt/app-root/src/update-from-source.sh b/docker/roundcube/rootfs/opt/app-root/src/update-from-source.sh index 189b24f7..956d82da 100755 --- a/docker/roundcube/rootfs/opt/app-root/src/update-from-source.sh +++ b/docker/roundcube/rootfs/opt/app-root/src/update-from-source.sh @@ -1,35 +1,36 @@ #!/bin/bash #Update from source (rather then via composer which updates to the latest commit) for repo in roundcubemail syncroton iRony chwala autoconf freebusy do if [ -d /src.orig/$directory ]; then rsync -av \ + --no-links \ --exclude=vendor \ --exclude=temp \ --exclude=config \ --exclude=logs \ --exclude=.git \ --exclude=config.inc.php \ --exclude=composer.json \ --exclude=composer.lock \ /src.orig/$directory/ /opt/app-root/src/$directory fi done pushd /src.orig/roundcubemail-plugins-kolab/plugins for plugin in $(ls -1d) do if [ -d /opt/app-root/src/roundcubemail/plugins/${plugin}/ ]; then rsync -av \ --exclude=vendor \ --exclude=composer.json \ --exclude=config.inc.php \ $plugin/ /opt/app-root/src/roundcubemail/plugins/$plugin fi done popd ./reload.sh