mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-05-24 00:24:07 +03:00
Resolve conflicts and create a converter for old values to the new ones. Also let the user know they should be changing their configuration
This commit is contained in:
commit
a2aba25712
4 changed files with 41 additions and 52 deletions
|
@ -31,6 +31,14 @@ if (!isset($authdb)) {
|
|||
$blocklogin = TRUE;
|
||||
}
|
||||
|
||||
if (isset($defaults['primaryns'])) {
|
||||
$errormsg = "You should reconfigure your \$defaults['primaryns'] settings to use <code>\$defaults['ns'][0]</code>. We converted if for you now.";
|
||||
$defaults['ns'][] = $defaults['primaryns'];
|
||||
if (isset($defaults['secondaryns'])) {
|
||||
$defaults['ns'][] = $defaults['secondaryns'];
|
||||
}
|
||||
}
|
||||
|
||||
/* No need to change stuf below */
|
||||
|
||||
if (function_exists('curl_init') === FALSE) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue