ISPConfig Theme Issue - Unnecessary Include
After loading a new theme for ISPConfig 3.0.5.1, the interface is trying to include a file that is not there. I think the logic should be conditional to the include the file if it is there and ignore it when it is not there.
This is the line that is trying to include it in /usr/local/ispconfig/interface/web/tools/module.conf.php
include_once(ISPC_WEB_PATH.'/tools/lib/interface.d/tpl_' . $_SESSION['s']['user']['app_theme'] . '.menu.php');
Here are my attempts at fixing that.
if ( file_exists(ISPC_WEB_PATH.'/tools/lib/interface.d/tpl_' . $_SESSION['s']['user']['app_theme'] . '.menu.php')) {
include_once(ISPC_WEB_PATH.'/tools/lib/interface.d/tpl_' . $_SESSION['s']['user']['app_theme'] . '.menu.php');
} else { };