Code

Added a new flag 'developmentMode' which enabled potential error messages about ACLs.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 17 May 2010 08:48:28 +0000 (08:48 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 17 May 2010 08:48:28 +0000 (08:48 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18502 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_core.inc

index dfd186b986eb98c1daf7449a02f056d6deacfb50..e9b8bfcf6a85cf3fc235039dba5aaf993f5c5956 100644 (file)
@@ -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",