install/includes/stages/login.php
changeset 1242 9aa09b0a7544
parent 1240 2b6cdff92b09
equal deleted inserted replaced
1241:99b749da5149 1242:9aa09b0a7544
    24 
    24 
    25 $ui->add_header('<script type="text/javascript" src="includes/js/formutils.js"></script>');
    25 $ui->add_header('<script type="text/javascript" src="includes/js/formutils.js"></script>');
    26 $ui->show_header();
    26 $ui->show_header();
    27 
    27 
    28 // generate the HTML for the form, and store the public and private key in the temporary config
    28 // generate the HTML for the form, and store the public and private key in the temporary config
    29 $aes_form = sessionManager::generate_aes_form($dh_keys);
    29 $aes_form = sessionManager::generate_aes_form_static($dh_keys);
    30 $fp = @fopen(ENANO_ROOT . '/config.new.php', 'a+');
    30 $fp = @fopen(ENANO_ROOT . '/config.new.php', 'a+');
    31 if ( !$fp )
    31 if ( !$fp )
    32 	die('Couldn\'t open the config for writing');
    32 	die('Couldn\'t open the config for writing');
    33 fwrite($fp, "
    33 fwrite($fp, "
    34 // DiffieHellman parameters
    34 // DiffieHellman parameters