From dddd6afa9cda3e9936520743c5bc7679096d707e Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 19 May 2010 15:06:30 +0000 Subject: [PATCH] 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 --- gosa-core/include/functions.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"; } -- 2.30.2