mirror of
https://github.com/ShaYmez/FreeSTAR-Status-Engine.git
synced 2024-11-23 20:58:46 -05:00
fix text
This commit is contained in:
parent
a56e6ae8ef
commit
1172eeaf1b
@ -118,7 +118,7 @@ if(isset($_POST['server']) && empty($message))
|
||||
$config = str_replace("##name##", $_POST['servername'], $config);
|
||||
$config = str_replace("##title##", $_POST['title'], $config);
|
||||
$config = str_replace("##url##", $_POST['url'], $config);
|
||||
$policy = str_replace("##mailer##", $_POST['mailer'], $policy);
|
||||
$policy = str_replace("##email##", $_POST['mailer_email'], $policy);
|
||||
$config = str_replace("##mailer_email##", $_POST['mailer_email'], $config);
|
||||
$config = str_replace("##server##", $_POST['server'], $config);
|
||||
$config = str_replace("##database##", $_POST['database'], $config);
|
||||
@ -136,7 +136,7 @@ if(isset($_POST['server']) && empty($message))
|
||||
$config = str_replace("##tg_bot_username##", $_POST['tgbot'], $config);
|
||||
$policy = str_replace("##name##", $fullname, $policy);
|
||||
file_put_contents("config.php", $config);
|
||||
|
||||
file_put_contents("policy.php", $policy);
|
||||
|
||||
unlink("config.php.template");
|
||||
unlink("install.sql");
|
||||
|
Loading…
Reference in New Issue
Block a user