[Pkg-owncloud-commits] [owncloud] 03/20: Add another example to the trusted_domains config

David Prévot taffit at moszumanska.debian.org
Tue Apr 29 17:37:54 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit e5def25f40fdffdf7e44ca7bab95b685e16f711c
Author: Lukas Reschke <lukas at statuscode.ch>
Date:   Sat Apr 26 22:37:30 2014 +0200

    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.
---
 config/config.sample.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/config.sample.php b/config/config.sample.php
index 72b21ff..0cf8611 100755
--- a/config/config.sample.php
+++ b/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" => "",

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list