@@ 2356-2362 (lines=7) @@ | ||
2353 | foreach ($csscmds as $cmd) { |
|
2354 | if (!empty($cmd)) { |
|
2355 | $pos = strpos($cmd, ':'); |
|
2356 | if ($pos !== false) { |
|
2357 | $cmd = substr($cmd, 0, ($pos + 1)); |
|
2358 | if (strpos($tagstyle, $cmd) !== false) { |
|
2359 | // remove duplicate commands (last commands have high priority) |
|
2360 | $tagstyle = preg_replace('/'.$cmd.'[^;]+/i', '', $tagstyle); |
|
2361 | } |
|
2362 | } |
|
2363 | } |
|
2364 | } |
|
2365 | $tagstyle .= ';'.$style['c']; |
@@ 126-132 (lines=7) @@ | ||
123 | $this->_ldapConfig['ldap_use_domain_prefix'] && '' !== $password) { |
|
124 | // if LDAP configuration is enabled, and ldap_use_domain_prefix is available (in file constants_ldap.php) |
|
125 | // and ldap_use_domain_prefix is set to true and LDAP data are provided (password is not empty) |
|
126 | if (($pos = strpos($login, '\\')) !== false) { |
|
127 | if ($pos !== 0) { |
|
128 | $optData['domain'] = substr($login, 0, $pos); |
|
129 | } |
|
130 | ||
131 | $login = substr($login, $pos + 1); |
|
132 | } |
|
133 | } |
|
134 | ||
135 | // Additional code for SSO |