Merge pull request #3004 from tobiasd/20161210-2932followup
add allowed protocols during installation
This commit is contained in:
commit
b43691cc4b
2 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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 a new issue