|
139 | 139 | $config = str_replace("##who_we_are##", htmlspecialchars($_POST['who_we_are'], ENT_QUOTES), $config); |
140 | 140 | $policy_url_conf = ( ! empty($_POST['policy_url']) ) ? htmlspecialchars($_POST['policy_url'], ENT_QUOTES) : $_POST['url']."/policy.php"; |
141 | 141 | $config = str_replace("##policy_url##", $policy_url_conf, $config); |
142 | | - |
| 142 | + |
143 | 143 | file_put_contents("config.php", $config); |
144 | 144 |
|
145 | 145 | include_once "create-server-config.php"; |
146 | 146 | $db->setSetting($mysqli,"dbConfigVersion","Version2Beta7"); |
147 | 147 | $db->setSetting($mysqli,"notifyUpdates","yes"); |
| 148 | + $db->setSetting($mysqli,"subscribe_email","no"); |
| 149 | + $db->setSetting($mysqli,"subscribe_telegram","no"); |
| 150 | + $db->setSetting($mysqli,"tg_bot_api_token",""); |
| 151 | + $db->setSetting($mysqli,"tg_bot_username",""); |
| 152 | + $db->setSetting($mysqli,"php_mailer","no"); |
| 153 | + $db->setSetting($mysqli,"php_mailer_host",""); |
| 154 | + $db->setSetting($mysqli,"php_mailer_smtp","no"); |
| 155 | + $db->setSetting($mysqli,"php_mailer_path",""); |
| 156 | + $db->setSetting($mysqli,"php_mailer_port",""); |
| 157 | + $db->setSetting($mysqli,"php_mailer_secure","no"); |
| 158 | + $db->setSetting($mysqli,"php_mailer_user",""); |
| 159 | + $db->setSetting($mysqli,"php_mailer_pass",""); |
| 160 | + $db->setSetting($mysqli,"google_recaptcha","no"); |
| 161 | + $db->setSetting($mysqli,"google_recaptcha_secret",""); |
| 162 | + $db->setSetting($mysqli,"google_recaptcha_sitekey",""); |
| 163 | + $db->setSetting($mysqli,"cron_server_ip",""); |
148 | 164 | unlink("create-server-config.php"); |
149 | 165 | unlink("config.php.template"); |
150 | 166 | unlink("install.sql"); |
|
0 commit comments