diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-06-06 16:19:48 -0700 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-06-06 16:19:48 -0700 |
commit | 705ab358d8dfb7426a8677a7e76068a610fb950c (patch) | |
tree | e01b1445e0fe4823cc432145dab2bcf0eaad507b /apps | |
parent | 81b6cab94fcaa5c3bc76a92d38997cd7928cb37d (diff) | |
parent | 058c15a9f46a69b4849d489b9b53041a5defb6f5 (diff) | |
download | nextcloud-server-705ab358d8dfb7426a8677a7e76068a610fb950c.tar.gz nextcloud-server-705ab358d8dfb7426a8677a7e76068a610fb950c.zip |
Merge pull request #3622 from owncloud/read-extfx-confg-from-home
Read configuratons for external filesystem test from a private place.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_external/tests/config.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/files_external/tests/config.php b/apps/files_external/tests/config.php index 1d4f30c713d..bac594b485f 100644 --- a/apps/files_external/tests/config.php +++ b/apps/files_external/tests/config.php @@ -1,4 +1,13 @@ <?php + +// in case there are private configurations in the users home -> use them +$privateConfigFile = $_SERVER['HOME'] . '/owncloud-extfs-test-config.php'; +if (file_exists($privateConfigFile)) { + $config = include($privateConfigFile); + return $config; +} + +// this is now more a template now for your private configurations return array( 'ftp'=>array( 'run'=>false, |