";
# On génère le fichier XML
$xml = "\n";
$xml .= "\n";
foreach($this->plxAdmin->aUsers as $user_id => $user) {
$salt = plxUtils::charAleatoire(10);
$password = sha1($salt.$user['password']);
$xml .= "\t".''."\n";
$xml .= "\t\t".''."\n";
$xml .= "\t\t".''."\n";
$xml .= "\t\t".''."\n";
$xml .= "\t\t".''."\n";
$xml .= "\t\t".''."\n";
$xml .= "\t\t".''."\n";
$xml .= "\t\t".''."\n";
$xml .= "\t\n";
}
$xml .= "";
if(!plxUtils::write($xml,PLX_ROOT.$this->plxAdmin->aConf['users'])) {
echo '
'.L_UPDATE_ERR_USERS_MIGRATION.' ('.$this->plxAdmin->aConf['users'].')
';
return false;
}
return true;
}
}
?>