Revision 04257637
Added by Scott Ullrich over 19 years ago
usr/local/www/system_advanced.php | ||
---|---|---|
206 | 206 |
$config['theme'] = $_POST['theme']; |
207 | 207 |
|
208 | 208 |
write_config(); |
209 |
|
|
210 |
if (($config['system']['webgui']['certificate'] != $oldcert) |
|
211 |
|| ($config['system']['webgui']['private-key'] != $oldkey)) { |
|
212 |
system_webgui_start(); |
|
213 |
} |
|
214 |
|
|
215 | 209 |
|
216 | 210 |
$retval = 0; |
217 | 211 |
config_lock(); |
... | ... | |
660 | 654 |
|
661 | 655 |
<?php |
662 | 656 |
|
657 |
if (($config['system']['webgui']['certificate'] != $oldcert) |
|
658 |
|| ($config['system']['webgui']['private-key'] != $oldkey)) { |
|
659 |
touch("/tmp/restart_webgui"); |
|
660 |
} |
|
661 |
|
|
663 | 662 |
function auto_login($status) { |
664 | 663 |
$gettytab = file_get_contents("/etc/gettytab"); |
665 | 664 |
$getty_split = split("\n", $gettytab); |
Also available in: Unified diff
Correctly restart web server after certificate change