From 58dda79c6aa8d4af6f9d6689aef501666b748eda Mon Sep 17 00:00:00 2001 From: Nicolas Roman Date: Fri, 7 Jun 2019 11:46:29 +0200 Subject: [PATCH] add letsencrypt link in webadmin page --- htdocs/index.php | 2 +- tpl/webadmin.tpl.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/index.php b/htdocs/index.php index 947c0b1..5e90a4e 100755 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -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'; diff --git a/tpl/webadmin.tpl.php b/tpl/webadmin.tpl.php index 280b6e9..98b02c8 100755 --- a/tpl/webadmin.tpl.php +++ b/tpl/webadmin.tpl.php @@ -111,6 +111,7 @@ } else { printf('ITK - ', $vhost_info['owner']); } + printf('Let\'s Encrypt - ', $vhost_info['owner']); printf('Supprimer', $vhost_info['owner']); } else { print 'VirtualHost non standard';