add letsencrypt link in webadmin page
This commit is contained in:
parent
4a137ae821
commit
58dda79c6a
|
@ -82,7 +82,7 @@ if (!array_key_exists('auth', $_SESSION) || $_SESSION['auth']!=1) {
|
||||||
|
|
||||||
include_once EVOADMIN_BASE . '../inc/webadmin-suppr.php';
|
include_once EVOADMIN_BASE . '../inc/webadmin-suppr.php';
|
||||||
|
|
||||||
} elseif (preg_match('#^/webadmin/(.*)/letsencrypt/?(check)?/?$#', $uri, $params)) {
|
} elseif (preg_match('#^/webadmin/(.*)/letsencrypt/?$#', $uri, $params)) {
|
||||||
|
|
||||||
include_once EVOADMIN_BASE . '../inc/webadmin-letsencrypt.php';
|
include_once EVOADMIN_BASE . '../inc/webadmin-letsencrypt.php';
|
||||||
|
|
||||||
|
|
|
@ -111,6 +111,7 @@
|
||||||
} else {
|
} else {
|
||||||
printf('<a href="/webadmin/%s/itk/">ITK</a> - ', $vhost_info['owner']);
|
printf('<a href="/webadmin/%s/itk/">ITK</a> - ', $vhost_info['owner']);
|
||||||
}
|
}
|
||||||
|
printf('<a href="/webadmin/%s/letsencrypt/">Let\'s Encrypt</a> - ', $vhost_info['owner']);
|
||||||
printf('<a href="/webadmin/delete/%s">Supprimer</a>', $vhost_info['owner']);
|
printf('<a href="/webadmin/delete/%s">Supprimer</a>', $vhost_info['owner']);
|
||||||
} else {
|
} else {
|
||||||
print '<span class="form-mandatory-ok">VirtualHost non standard</span>';
|
print '<span class="form-mandatory-ok">VirtualHost non standard</span>';
|
||||||
|
|
Loading…
Reference in New Issue