From 132477990dcd72d7138789782a7c2e94c30028e7 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sat, 10 Dec 2016 07:16:16 +0100 Subject: [PATCH] move that option up, as the admin panel has no control over it ATM --- view/templates/htconfig.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/view/templates/htconfig.tpl b/view/templates/htconfig.tpl index 316f9bc01f..2420aa9533 100644 --- a/view/templates/htconfig.tpl +++ b/view/templates/htconfig.tpl @@ -35,6 +35,9 @@ $a->config['php_path'] = '{{$phpath}}'; $a->path = '{{$urlpath}}'; +// Allowed protocols in link URLs; HTTP protocols always are accepted +$a->config['system']['allowed_link_protocols'] = array('ftp', 'ftps', 'mailto', 'cid', 'gopher'); + /* ********************************************************************* * The configuration below will be overruled by the admin panel. * Changes made below will only have an effect if the database does @@ -95,6 +98,3 @@ $a->config['system']['no_regfullname'] = true; // Location of the global directory $a->config['system']['directory'] = 'http://dir.friendi.ca'; - -// Allowed protocols in link URLs; HTTP protocols always are accepted -$a->config['system']['allowed_link_protocols'] = array('ftp', 'ftps', 'mailto', 'cid', 'gopher');