diff options
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index b8e0342..afc4bef 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -2326,9 +2326,11 @@ function display_top_tabs(& $tab_array) { /* if tabcontrols.php exist for a theme, allow it to be overriden */ $themename = $config['theme']; $filename = "/usr/local/www/themes/{$themename}/tabcontrols.php"; - if(file_exists($filename)) - eval($filename); - + if(file_exists($filename)) { + $eval_code = file_get_contents($filename); + eval($eval_code); + } + echo "<table cellpadding='0' cellspacing='0'>\n"; echo " <tr>\n"; $tabscounter = 0; |