add letsencrypt link in webadmin page

This commit is contained in:
Nicolas Roman 2019-06-07 11:46:29 +02:00
parent 4a137ae821
commit 58dda79c6a
2 changed files with 2 additions and 1 deletions

View File

@ -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';

View File

@ -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>';