mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Remove determination of the default config
This commit is contained in:
parent
a963c0564f
commit
4bfbfc40f1
@ -7,10 +7,6 @@
|
|||||||
<br><small class="text-muted"><?php echo _("Activating a configuraton will restart the <code>openvpn-client</code> service.") ?></small>
|
<br><small class="text-muted"><?php echo _("Activating a configuraton will restart the <code>openvpn-client</code> service.") ?></small>
|
||||||
</p>
|
</p>
|
||||||
<div class="openvpn-configs js-openvpn-configs-container">
|
<div class="openvpn-configs js-openvpn-configs-container">
|
||||||
<?php
|
|
||||||
exec("readlink ".RASPI_OPENVPN_CLIENT_CONFIG." | xargs basename", $ret);
|
|
||||||
$conf_default = empty($ret) ? "none" : $ret[0];
|
|
||||||
?>
|
|
||||||
<?php foreach ($clients as $client) :
|
<?php foreach ($clients as $client) :
|
||||||
if ($client == $conf_default) {
|
if ($client == $conf_default) {
|
||||||
$btn_class = "active";
|
$btn_class = "active";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user