Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F262030
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
View Options
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
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Jun 28, 7:34 AM (8 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
201323
Default Alt Text
(2 KB)
Attached To
Mode
R2 kolab
Attached
Detach File
Event Timeline
Log In to Comment