diff --git a/web/edit/web/index.php b/web/edit/web/index.php index 6c703e7d7..c1e69e258 100644 --- a/web/edit/web/index.php +++ b/web/edit/web/index.php @@ -235,8 +235,8 @@ if (!empty($_POST['save'])) { $restart_proxy = 'yes'; } - // Change proxy template / Update extension list (admin only) - if ((!empty($_SESSION['PROXY_SYSTEM'])) && (!empty($v_proxy)) && (!empty($_POST['v_proxy'])) && (empty($_SESSION['error_msg'])) && ($_SESSION['user'] == 'admin')) { + // Change proxy template / Update extension list + if ((!empty($_SESSION['PROXY_SYSTEM'])) && (!empty($v_proxy)) && (!empty($_POST['v_proxy'])) && (empty($_SESSION['error_msg'])) ) { $ext = preg_replace("/\n/", " ", $_POST['v_proxy_ext']); $ext = preg_replace("/,/", " ", $ext); $ext = preg_replace('/\s+/', ' ',$ext); diff --git a/web/templates/user/edit_web.html b/web/templates/user/edit_web.html index 911ab0bf1..c984427c9 100644 --- a/web/templates/user/edit_web.html +++ b/web/templates/user/edit_web.html @@ -94,6 +94,30 @@
+ + | +
+ + | +