Merge pull request #3004 from tobiasd/20161210-2932followup
add allowed protocols during installation
This commit is contained in:
commit
b43691cc4b
|
@ -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');
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user