Merge pull request #3004 from tobiasd/20161210-2932followup

add allowed protocols during installation
pull/3006/head
Michael Vogel 2016-12-10 08:02:19 +01:00 zatwierdzone przez GitHub
commit b43691cc4b
2 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@ -66,7 +66,7 @@ $a->config['system']['allowed_themes'] = 'quattro,vier,duepuntozero';
// default system theme
$a->config['system']['theme'] = 'duepuntozero';
$a->config['system']['theme'] = 'vier';
// By default allow pseudonyms
@ -80,4 +80,4 @@ $a->config['system']['no_regfullname'] = true;
$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');
$a->config['system']['allowed_link_protocols'] = array('ftp', 'ftps', 'mailto', 'cid', 'gopher');

Wyświetl plik

@ -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