[horde] H6 imp appears to ignore mime_drivers.local.php

Jean Charles Delépine delepine at u-picardie.fr
Tue May 27 08:02:16 UTC 2025


Quoting Ralf Lang <ralf.lang at gmail.com>:

> Hi, Brent and Jean Charles,
>

> The new version will be released shortly. There is a bit of a  
> problem here which put this on delay. It might happen that the  
> autoloader tries to load the hooks.local.php class twice. You can  
> prevent this by putting your custom hook class into a phrase like  
> this:
>
> https://github.com/horde/whups/blob/FRAMEWORK_6_0/config/hooks.php.dist
> if (!class_exists('Whups_Hooks')) {
>
>     class Whups_Hooks  {

Already done, I was writing the mail to ask why. ;-)

> This is only a problem with classes but not with config files which  
> only contain arrays. I've described this chain of issues in more  
> details here:  
> https://www.ralf-lang.de/2025/05/27/a-wicked-problem-from-the-past/
> We will release versions of the apps and libraries with restriction  
> rules for the autoloaders to prevent this from happening in the  
> first place.

Thanks for the work !

I made a small PR yesterday for what I think is a typo :
https://github.com/horde/Core/pull/19/commits/b6bf471ac355cc08d772d3c094ebc78458cbf5ca

             Jean Charles Delépine
-- 
Service systèmes et réseaux - DISI

Université de Picardie Jules Verne
5, rue du moulin neuf - 80000 Amiens



More information about the horde mailing list