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