From 2e9cc54138f04205cbbc56db6ced2c6214444001 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 17 May 2010 08:48:28 +0000 Subject: [PATCH] Added a new flag 'developmentMode' which enabled potential error messages about ACLs. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18502 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_core.inc | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/gosa-core/include/class_core.inc b/gosa-core/include/class_core.inc index dfd186b98..e9b8bfcf6 100644 --- a/gosa-core/include/class_core.inc +++ b/gosa-core/include/class_core.inc @@ -158,12 +158,23 @@ class core extends plugin { "name" => "displayErrors", "type" => "bool", "default" => "false", - "description" => "The 'displayErrors' statement tells GOsa to show PHP errors in the upper part of the screen. This should be disabled in productive deployments, because there might be some important passwords arround.", + "description" => _("The 'displayErrors' statement tells GOsa to show PHP errors in the upper part of the screen. This should be disabled in productive deployments, because there might be some important passwords arround.")." ".sprintf(_("The property '%s' may be interesting too."),'developmentMode'), "check" => "gosaProperty::isBool", "migrate" => "", "group" => "debug", "mandatory" => TRUE), + array( + "name" => "developmentMode", + "type" => "bool", + "default" => "false", + "description" => _("The 'developmentMode' statement tells GOsa to show development related error messages, for example messages about missing ACL configuration or classes. Due to the fact that enabling this flag will result in a lot of false error messages it should only be enabled while developing or debugging plugins!"), + "check" => "gosaProperty::isBool", + "migrate" => "", + "group" => "debug", + "mandatory" => TRUE), + + array( "name" => "schemaCheck", "type" => "bool", -- 2.30.2