Browse Source

add letsencrypt link in webadmin page

pull/63/head
Nicolas Roman 1 year ago
parent
commit
58dda79c6a
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      htdocs/index.php
  2. +1
    -0
      tpl/webadmin.tpl.php

+ 1
- 1
htdocs/index.php View File

@ -82,7 +82,7 @@ if (!array_key_exists('auth', $_SESSION) || $_SESSION['auth']!=1) {
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';


+ 1
- 0
tpl/webadmin.tpl.php View File

@ -111,6 +111,7 @@
} else {
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']);
} else {
print '<span class="form-mandatory-ok">VirtualHost non standard</span>';


Loading…
Cancel
Save