uiconfig.php
changeset 64 ee64bb096f56
parent 50 1b4288399b1f
child 71 8663af0e27c7
equal deleted inserted replaced
63:af239423ed15 64:ee64bb096f56
    83         $auth_data[$user] = $pass;
    83         $auth_data[$user] = $pass;
    84       }
    84       }
    85     }
    85     }
    86     $auth_data = var_export_string($auth_data);
    86     $auth_data = var_export_string($auth_data);
    87     
    87     
    88     $new_configpass = ( is_string($_POST['newconfigpass']) && $_POST['newconfigpass'] != '____________________' ) ? sha1($_POST['newconfigpass']) : $GLOBALS['configpass'];
    88     $new_configpass = ( isset($_POST['configpass']) && is_string($_POST['newconfigpass']) && $_POST['newconfigpass'] != '____________________' ) ? sha1($_POST['newconfigpass']) : $GLOBALS['configpass'];
    89     
    89     
    90     $config_file = <<<EOF
    90     $config_file = <<<EOF
    91 <?php
    91 <?php
    92 
    92 
    93 //
    93 //