Can we move the default location for the configuration files for ispconfig to /etc/ispconfig? This would allow non-standard location installs of ispconfig if so needed however keeping configuration, and make it so the system uses one configuration file instead of 2 with the same data located in two different locations on a system. However, this would keep configuration in a more standard place on the system and the code will reference needed information there. Also, this would be an ideal location should an actual debian package be created to support the installation of ispconfig.
Thats a good idea. I think we should ensure that the location from where the config.inc.php file gets included into the other php scripts does not change so that no demo system or installations where the interface part is installed in a website is broken. There are a lot of custom installs out there and we should take care about that. Also the installer should do a seamless upgrade on that change. Either we use a symlink from /usr/local/ispconfig/interface/lib/config.inc.php to /etc/ispconfig/config.inc.php or we add some code to the /usr/local/ispconfig/interface/lib/config.inc.php file that tries to include the file from /etc/ispconfig in case that it exists and has secure permissions (user and group ispconfig and not world readable). Same for the server part config file.