From b05ec5e30cebf0650723956c3d5a2ddb605da82b Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 28 Jun 2005 07:41:00 +0000 Subject: [PATCH] added error lvl select to setup. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@885 594d385d-05f5-0310-b6e9-bd551577e9d8 --- contrib/gosa.conf | 2 +- ihtml/themes/default/setup_step4.tpl | 15 +++++++++++++++ include/functions_setup.inc | 3 ++- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/contrib/gosa.conf b/contrib/gosa.conf index a45dbb93f..095569d1f 100644 --- a/contrib/gosa.conf +++ b/contrib/gosa.conf @@ -163,7 +163,7 @@ pwminlen="6" forceglobals="false" smbhash='{SMBHASH}' - displayerros="false"> + displayerros="{errorlvl}"> +

 

+ +

+ {t}GOsa may cause PHP interpreter errors, particularly in case of Beta versions. In some cases it would be helpfull to enable the error reporting. (But it could be a security risk) {/t} +

+ + + + +
{t}Display PHP errors{/t} + +

diff --git a/include/functions_setup.inc b/include/functions_setup.inc index 50b96f2b6..d769c898c 100644 --- a/include/functions_setup.inc +++ b/include/functions_setup.inc @@ -473,6 +473,7 @@ function parse_contrib_conf() $replacements['{GOVERNMENTMODE}']= "false"; $replacements['{kolabAccount}'] = ""; $replacements['{servKolab}'] = ""; + $replacements['{errorlvl}'] = $ldapconf['errorlvl']; /* This array contains all preg_replace syntax to delete all unused plugins THE kEY MUST BE THE CLASSNAME so we can check it with $ldapconf['classes'] */ @@ -727,7 +728,7 @@ function show_setup_page4($withoutput = true) $arr_crypts= array(); $temp = ""; $checkvars = array("location", "admin", "password", "peopleou", "base", - "peopledn", "arr_crypts", "mail", "uidbase"); + "peopledn", "arr_crypts", "mail", "uidbase","errorlvl"); if(!isset($_SESSION['ldapconf']['arr_cryptkeys'])) { require_once("class_password-methods.inc"); -- 2.30.2