Sysadmin module not using AMPWEBROOT variable

Hi,

We are trying to make our customs Debian FreePBX install compatilbe with commercial modules, especially to try Sangoma Connect.

Our custom install doesn’t use the default apache2 web root “/var/www/html/” but an other one “/opt/freepbx/www”.
Of course, our AMPWEBROOT variable is set accordingly to this.
We never had problems with that before, until we install sysadmin module. We spent some time understanding why we had so much trouble to makes it work until we check syslog :

sysadmin-hook[479405]: Can’t find signature file ‘/var/www/html/admin/modules/sysadmin/module.sig’

Well, sure it can’t find the signature, this is not where FreePBX is installed. I guess the webroot is hardcoded in the module but it feel like a bug for me.
(We had to put a symbolic link to workaround the issue)

What do you think ?

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.