Code

Added missing property
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 May 2010 08:22:37 +0000 (08:22 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 May 2010 08:22:37 +0000 (08:22 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18337 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/html/main.php
gosa-core/include/class_core.inc

index f3d658ae7390c60e21d3e0cb2f2dd4c092c501ef..be20d4ce12a600d9417bac321d8b771b1ddcc05e 100644 (file)
@@ -166,7 +166,7 @@ if (!session::global_is_set('plist')){
 $plist= session::global_get('plist');
 
 /* Check for register globals */
-if (isset($global_check) && $config->get_cfg_value("core","forceglobals") == "true"){
+if (isset($global_check) && $config->boolValueIsTrue("core","forceGlobals")){
   msg_dialog::display(
             _("PHP configuration"),
             _("FATAL: Register globals is active. Please fix this in order to continue."),
index 933f29ab0210d0b05410b828da63478281c41622..e49c7d30da2cce53dd040276c6f679dc154d0668 100644 (file)
@@ -459,6 +459,17 @@ DEBUG_SI      = 256"),
                                 "migrate"       => "",
                                 "group"         => "id",
                                 "mandatory"     => TRUE),
+
+                       array(
+                                "name"          => "baseIdHook",
+                                "type"          => "cmd",
+                                "default"       => "",
+                                "description"   => _("The 'baseIdHook' statement allows to hook into the id generation method (traditional mode), to define the starting range for new generated ids"), 
+                                "check"         => "gosaProperty::isCommand",
+                                "migrate"       => "",
+                                "group"         => "id",
+                                "mandatory"     => TRUE),
+
                         array(
                                 "name"          => "gidNumberPoolMin",
                                 "type"          => "integer",