summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ddcf1f2)
raw | patch | inline | side by side (parent: ddcf1f2)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 25 Jul 2008 13:10:57 +0000 (13:10 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 25 Jul 2008 13:10:57 +0000 (13:10 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12054 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/functions.inc | patch | blob | history |
index c82008207c6566bc392459b96e5880965dca8cc7..cf8ed7cc6d2bb00b240a5d2d03e52bf093f03cf8 100644 (file)
{
global $config;
+ $name= strtolower($name);
+
$map = array(
"ogroupou" => "ou=groups,",
"applicationou" => "ou=apps,",
"mimetypeou" => "ou=mime,");
/* Preset ou... */
- if ($config->get_cfg_value($name) != ""){
+ if ($config->get_cfg_value($name, "_not_set_") != "_not_set_"){
$ou= $config->get_cfg_value($name);
} elseif (isset($map[$name])) {
$ou = $map[$name];