@@ 1290-1296 (lines=7) @@ | ||
1287 | $ARCurrent->nls = $initialNLS; |
|
1288 | ||
1289 | $arConfig = &$ARConfig->pinpcache[$this->path]; |
|
1290 | if (!is_array($arConfig['authentication']['userdirs'])) { |
|
1291 | $arConfig['authentication']['userdirs'] = array('/system/users/'); |
|
1292 | } else { |
|
1293 | if (reset($arConfig['authentication']['userdirs']) != '/system/users/') { |
|
1294 | array_unshift($arConfig['authentication']['userdirs'], '/system/users/'); |
|
1295 | } |
|
1296 | } |
|
1297 | if (!is_array($arConfig['authentication']['groupdirs'])) { |
|
1298 | $arConfig['authentication']['groupdirs'] = array('/system/groups/'); |
|
1299 | } else { |
|
@@ 1297-1303 (lines=7) @@ | ||
1294 | array_unshift($arConfig['authentication']['userdirs'], '/system/users/'); |
|
1295 | } |
|
1296 | } |
|
1297 | if (!is_array($arConfig['authentication']['groupdirs'])) { |
|
1298 | $arConfig['authentication']['groupdirs'] = array('/system/groups/'); |
|
1299 | } else { |
|
1300 | if (reset($arConfig['authentication']['groupdirs']) != '/system/groups/') { |
|
1301 | array_unshift($arConfig['authentication']['groupdirs'], '/system/groups/'); |
|
1302 | } |
|
1303 | } |
|
1304 | ||
1305 | $ARCurrent->arLoginSilent = $loginSilent; |
|
1306 | $ARCurrent->arConfig = $prevArConfig; |