diff --git a/etemplate/inc/class.etemplate.inc.php b/etemplate/inc/class.etemplate.inc.php index 25f982385d..7249f49f32 100644 --- a/etemplate/inc/class.etemplate.inc.php +++ b/etemplate/inc/class.etemplate.inc.php @@ -13,7 +13,7 @@ /* $Id$ */ $ui = ''; // html UI, which UI to use, should come from api and be in $GLOBALS['phpgw']??? - if ($_ENV['DISPLAY']) + if ($_ENV['DISPLAY'] && isset($_SERVER['_'])) { $ui = '_gtk'; }