瀏覽代碼

Add another example to the trusted_domains config

Users often ask in IRC or the forum how to add another domain. 
Hopefully they will be able to find it out on their own if we have an example with two domains.
tags/v7.0.0alpha2
Lukas Reschke 10 年之前
父節點
當前提交
2bea7ec2e7
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      config/config.sample.php

+ 1
- 1
config/config.sample.php 查看文件

@@ -54,7 +54,7 @@ $CONFIG = array(
"proxyuserpwd" => "",

/* List of trusted domains, to prevent host header poisoning ownCloud is only using these Host headers */
'trusted_domains' => array('demo.owncloud.org'),
'trusted_domains' => array('demo.owncloud.org', 'otherdomain.owncloud.org'),

/* Theme to use for ownCloud */
"theme" => "",

Loading…
取消
儲存