From: hickert Date: Wed, 19 May 2010 15:06:30 +0000 (+0000) Subject: Updated image() function X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=dddd6afa9cda3e9936520743c5bc7679096d707e;p=gosa.git Updated image() function -Do not 'die()' if there is no config, this makes the setup unuseable git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18559 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/functions.inc b/gosa-core/include/functions.inc index 1e86262c1..5bd288d1f 100644 --- a/gosa-core/include/functions.inc +++ b/gosa-core/include/functions.inc @@ -3501,8 +3501,8 @@ function image($path, $action= "", $title= "", $align= "middle") if (isset ($config)){ $theme= $config->get_cfg_value("core","theme"); } else { - # For debuging - avoid that there's no theme set - die("config not set!"); + + // Fall back to default theme $theme= "default"; }