saving changes $userent =& $config['system']['user'][$userindex[$_SESSION['Username']]]; local_user_set_password($userent, $_POST['passwordfld1']); local_user_set($userent); unset($userent); session_commit(); write_config(); $savemsg = gettext("Password successfully changed") . "
"; } } if (!session_id()) { session_start(); } /* determine if user is not local to system */ $islocal = false; foreach ($config['system']['user'] as $user) { if ($user['name'] == $_SESSION['Username']) { $islocal = true; } } session_commit(); include("head.inc"); ?> ">
's
 
  " />