@@ 1299-1305 (lines=7) @@ | ||
1296 | $ARCurrent->nls = $initialNLS; |
|
1297 | ||
1298 | $arConfig = &$ARConfig->pinpcache[$this->path]; |
|
1299 | if (!is_array($arConfig['authentication']['userdirs'])) { |
|
1300 | $arConfig['authentication']['userdirs'] = array('/system/users/'); |
|
1301 | } else { |
|
1302 | if (reset($arConfig['authentication']['userdirs']) != '/system/users/') { |
|
1303 | array_unshift($arConfig['authentication']['userdirs'], '/system/users/'); |
|
1304 | } |
|
1305 | } |
|
1306 | if (!is_array($arConfig['authentication']['groupdirs'])) { |
|
1307 | $arConfig['authentication']['groupdirs'] = array('/system/groups/'); |
|
1308 | } else { |
|
@@ 1306-1312 (lines=7) @@ | ||
1303 | array_unshift($arConfig['authentication']['userdirs'], '/system/users/'); |
|
1304 | } |
|
1305 | } |
|
1306 | if (!is_array($arConfig['authentication']['groupdirs'])) { |
|
1307 | $arConfig['authentication']['groupdirs'] = array('/system/groups/'); |
|
1308 | } else { |
|
1309 | if (reset($arConfig['authentication']['groupdirs']) != '/system/groups/') { |
|
1310 | array_unshift($arConfig['authentication']['groupdirs'], '/system/groups/'); |
|
1311 | } |
|
1312 | } |
|
1313 | ||
1314 | $ARCurrent->arLoginSilent = $loginSilent; |
|
1315 | $ARCurrent->arConfig = $prevArConfig; |