From e53b2776ac5d4aad7238d4c12939883876a46138 Mon Sep 17 00:00:00 2001 From: ftimme <ft@falkotimme.com> Date: Tue, 19 Mar 2013 09:40:53 -0400 Subject: [PATCH] - Fixed FS#2806 - ISPConfig Theme Issue - Unnecessary Include. --- interface/web/tools/lib/module.conf.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/interface/web/tools/lib/module.conf.php b/interface/web/tools/lib/module.conf.php index c6b6aae..274e6aa 100644 --- a/interface/web/tools/lib/module.conf.php +++ b/interface/web/tools/lib/module.conf.php @@ -32,7 +32,7 @@ 'link' => 'tools/interface_settings.php', 'html_id' => 'interface_settings'); -include_once(ISPC_WEB_PATH.'/tools/lib/interface.d/tpl_' . $_SESSION['s']['user']['app_theme'] . '.menu.php'); +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'); $module['nav'][] = array( 'title' => 'Interface', 'open' => 1, -- Gitblit v1.9.1