move that option up, as the admin panel has no control over it ATM
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Sat, 10 Dec 2016 06:16:16 +0000 (07:16 +0100)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Sat, 10 Dec 2016 06:16:16 +0000 (07:16 +0100)
view/templates/htconfig.tpl

index 316f9bc..2420aa9 100644 (file)
@@ -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');