diff --git a/src/server/cyberhex-code/system/secure_zone/php/add_client.php b/src/server/cyberhex-code/system/secure_zone/php/add_client.php index baed953..4ee7bcf 100644 --- a/src/server/cyberhex-code/system/secure_zone/php/add_client.php +++ b/src/server/cyberhex-code/system/secure_zone/php/add_client.php @@ -110,16 +110,16 @@ include "../../../config.php"; } $stmt -> close(); //create the files and download them - $fp=fopen("/var/www/html/setup.txt","w"); + $fp=fopen("/var/www/html/export/setup.txt","w"); fwrite($fp,"$this_server"); fclose($fp); - $fp=fopen("/var/www/html/secrets.txt","w"); + $fp=fopen("/var/www/html/export/secrets.txt","w"); fwrite($fp,"machineid $machineid\n"); fwrite($fp,"cert $cert\n"); fwrite($fp,"apikey $apikey\n"); fclose($fp); - echo("Download config file1"); - echo("Download config file2"); + echo("Download config file1"); + echo("Download config file2"); echo("Download installer"); } ?>