fix names

This commit is contained in:
CHIEFSOFT\ameye
2025-08-08 21:43:51 -04:00
parent f0c56b85c8
commit 8b3cfb514b
+2 -2
View File
@@ -177,7 +177,7 @@ class Provision extends BaseController
$composer_template_contents = str_replace("CNT_DB_PASS", $provisionUID, $composer_template_contents);
$composer_template_contents = str_replace("CNT_DB_DATA", '172.16.4.96:3307', $composer_template_contents);
$composer_template_contents = str_replace("PROVISION_UID_REPLACE", $provisionUID, $composer_template_contents);
$templateRandom = rand(1,6).'p';
$templateRandom = 'p'. rand(1,6);
$composer_template_contents = str_replace("TEMPLATE_NAME_REPLACE", $templateRandom, $composer_template_contents);
@@ -375,7 +375,7 @@ class Provision extends BaseController
$composer_template_contents = str_replace("CNT_DB_PASS", $provisionUID, $composer_template_contents);
$composer_template_contents = str_replace("CNT_DB_DATA", '172.16.4.96:3307', $composer_template_contents);
$composer_template_contents = str_replace("PROVISION_UID_REPLACE", $provisionUID, $composer_template_contents);
$templateRandom = rand(1,6).'p';
$templateRandom = 'p'. rand(1,6);
$composer_template_contents = str_replace("TEMPLATE_NAME_REPLACE", $templateRandom, $composer_template_contents);
//Save to the specific path
$composerFile = fopen($destination_composer_path, "w") or die("Unable to open file!");